Searched refs:ratingStrings (Results 1 – 1 of 1) sorted by relevance
83 Set<String> ratingStrings = getSortedSetFromCsv(commaSeparatedRatings); in stringToContentRatings() local85 for (String rating : ratingStrings) { in stringToContentRatings()96 String[] ratingStrings = commaSeparatedRatings.split("\\s*,\\s*"); in getSortedSetFromCsv() local97 return toSortedSet(ratingStrings); in getSortedSetFromCsv()100 private static Set<String> toSortedSet(String[] ratingStrings) { in toSortedSet() argument101 if (ratingStrings.length == 0) { in toSortedSet()103 } else if (ratingStrings.length == 1) { in toSortedSet()104 return Collections.singleton(ratingStrings[0]); in toSortedSet()110 Collections.addAll(set, ratingStrings); in toSortedSet()125 SortedSet<String> ratingStrings = new TreeSet<>(); in contentRatingsToString() local[all …]