Home
last modified time | relevance | path

Searched refs:orderedSet (Results 1 – 5 of 5) sorted by relevance

/external/desugar/test/java/com/google/devtools/build/android/desugar/
DDefaultMethodClassFixerTest.java219 TreeSet<Class<?>> orderedSet = new TreeSet<>(INSTANCE); in testInterfaceComparator() local
220 orderedSet.add(Serializable.class); in testInterfaceComparator()
221 orderedSet.add(Runnable.class); in testInterfaceComparator()
222 orderedSet.add(MyRunnable2.class); in testInterfaceComparator()
223 orderedSet.add(Callable.class); in testInterfaceComparator()
224 orderedSet.add(Serializable.class); in testInterfaceComparator()
225 orderedSet.add(MyRunnable1.class); in testInterfaceComparator()
226 orderedSet.add(MyRunnable3.class); in testInterfaceComparator()
227 assertThat(orderedSet) in testInterfaceComparator()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DCldrXmlWriter.java14 private final Set<String> orderedSet; field in CldrXmlWriter
36 orderedSet = new TreeSet<>(cldrFile.getComparator()); in CldrXmlWriter()
37 xmlSource.forEach(orderedSet::add); in CldrXmlWriter()
38 if (orderedSet.size() > 0) { // May not have any elements. in CldrXmlWriter()
39 final String firstPath = orderedSet.iterator().next(); in CldrXmlWriter()
133 for (String xpath : orderedSet) { in secondLoop()
DCLDRFile.java1114 Set<String> orderedSet = new TreeSet<>(comparator); in iterator()
1115 it.forEachRemaining(orderedSet::add); in iterator()
1116 return orderedSet.iterator(); in iterator()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DCountItems.java377 Set<String> orderedSet = new TreeSet<>(col); in genSupplementalZoneData() local
378 orderedSet.addAll(zone_country.keySet()); in genSupplementalZoneData()
379 orderedSet.addAll(sc.getDeprecatedZoneIDs()); in genSupplementalZoneData()
382 for (Iterator<String> it = orderedSet.iterator(); it.hasNext();) { in genSupplementalZoneData()
DCLDRModify.java468 Set orderedSet = new TreeSet(k.getComparator()); in main() local
469 k.forEach(orderedSet::add); in main()
470 for (Iterator it3 = orderedSet.iterator(); it3.hasNext();) { in main()