code: private List<CharSequence> getNavigationPreferenceTitles(
              final Collection<NavigationPreference> navigationPreferences) {
          List<CharSequence> titles = new LinkedList<>();
  
          for (NavigationPreference navigationPreference : navigationPreferences) {
              titles.add(navigationPreference.getTitle());
          }
  
          return titles;
      }
docs: Returns a list, which contains the titles of all navigation preferences, which are contained
  by a specific collection.
  
  @param navigationPreferences
  A collection, which contains the navigation preferences, whose title should be
  returned, as an instance of the type {@link Collection}
  @return A list, which contains the title of the given navigation preferences, as an instance
  of the type {@link List}