Home
last modified time | relevance | path

Searched refs:sortedCopy (Results 1 – 25 of 28) sorted by relevance

12

/external/r8/src/main/java/com/android/tools/r8/naming/
DMinifiedNameMapPrinter.java39 private <T> T[] sortedCopy(T[] source, Comparator<? super T> comparator) { in sortedCopy() method in MinifiedNameMapPrinter
52 write(sortedCopy( in write()
54 write(sortedCopy( in write()
56 write(sortedCopy( in write()
58 write(sortedCopy( in write()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSortedMapGenerators.java83 }.sortedCopy(insertionOrder); in order() method in SortedMapGenerators
109 return Ordering.natural().sortedCopy(insertionOrder);
DMapGenerators.java173 }.sortedCopy(insertionOrder); in order() method in MapGenerators
/external/guava/guava/src/com/google/common/collect/
DImmutableSortedMultiset.java266 TreeMultiset<E> sortedCopy = TreeMultiset.create(checkNotNull(comparator)); in copyOf() local
267 Iterables.addAll(sortedCopy, elements); in copyOf()
268 return copyOfSortedEntries(comparator, sortedCopy.entrySet()); in copyOf()
DAllEqualOrdering.java41 public <E> List<E> sortedCopy(Iterable<E> iterable) { in sortedCopy() method in AllEqualOrdering
DImmutableMultimap.java261 Multimap<K, V> sortedCopy = new BuilderMultimap<K, V>(); in build() local
268 sortedCopy.putAll(entry.getKey(), entry.getValue()); in build()
270 builderMultimap = sortedCopy; in build()
DImmutableSetMultimap.java268 Multimap<K, V> sortedCopy = new BuilderMultimap<K, V>(); in build() local
275 sortedCopy.putAll(entry.getKey(), entry.getValue()); in build()
277 builderMultimap = sortedCopy; in build()
DOrdering.java814 public <E extends T> List<E> sortedCopy(Iterable<E> elements) { in sortedCopy() method in Ordering
/external/guava/guava-tests/test/com/google/common/collect/
DTreeMultimapNaturalTest.java90 }.sortedCopy(insertionOrder); in suite()
118 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite()
166 }.sortedCopy(insertionOrder); in suite()
220 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite()
241 return Ordering.natural().nullsFirst().sortedCopy(insertionOrder); in suite()
DImmutableSortedMultisetTest.java67 return Ordering.natural().sortedCopy(insertionOrder); in suite()
84 return Ordering.natural().sortedCopy(insertionOrder); in suite()
107 return Ordering.natural().sortedCopy(insertionOrder); in suite()
DOrderingTest.java71 assertEquals(strings, comparator.sortedCopy(strings)); in testAllEqual()
429 numberOrdering.nullsLast().sortedCopy(unsortedInts);
433 numberOrdering.sortedCopy(Collections.<Integer>emptyList()));
692 assertEquals(ordering.sortedCopy(list).subList(0, k),
964 assertEquals(strictlyOrderedList, ordering.sortedCopy(shuffledList));
DForwardingSortedMultisetTest.java194 return Ordering.natural().sortedCopy(insertionOrder);
DImmutableRangeSetTest.java68 return Ordering.natural().sortedCopy(insertionOrder); in order()
101 return Ordering.natural().sortedCopy(insertionOrder); in order()
DTreeRangeMapTest.java79 .sortedCopy(insertionOrder); in suite()
134 .sortedCopy(insertionOrder); in suite()
DSynchronizedNavigableSetTest.java167 return Ordering.natural().sortedCopy(insertionOrder); in suite()
DIterablesTest.java1319 iterables.add(Ordering.natural().sortedCopy(list));
1336 iterables.add(Ordering.natural().sortedCopy(list));
1353 Ordering.natural().sortedCopy(unsortedExpected);
DTreeMultisetTest.java66 return Ordering.natural().sortedCopy(insertionOrder); in suite()
DConcurrentHashMultisetTest.java97 return Ordering.natural().sortedCopy(insertionOrder);
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSetMultimap.java262 Multimap<K, V> sortedCopy = new BuilderMultimap<K, V>(); in build() local
269 sortedCopy.putAll(entry.getKey(), entry.getValue()); in build()
271 builderMultimap = sortedCopy; in build()
DImmutableMultimap.java260 Multimap<K, V> sortedCopy = new BuilderMultimap<K, V>(); in build() local
267 sortedCopy.putAll(entry.getKey(), entry.getValue()); in build()
269 builderMultimap = sortedCopy; in build()
/external/guava/guava-tests/benchmark/com/google/common/collect/
DSortedCopyBenchmark.java107 dummy += ORDERING.sortedCopy(input).get(0); in ordering()
/external/smali/baksmali/src/main/java/org/jf/baksmali/
DBaksmali.java58 List<? extends ClassDef> classDefs = Ordering.natural().sortedCopy(dexFile.getClasses()); in disassembleDexFile()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DOrderingTest.java69 assertEquals(strings, comparator.sortedCopy(strings)); in testAllEqual()
427 numberOrdering.nullsLast().sortedCopy(unsortedInts);
431 numberOrdering.sortedCopy(Collections.<Integer>emptyList()));
685 assertEquals(ordering.sortedCopy(list).subList(0, k),
930 assertEquals(strictlyOrderedList, ordering.sortedCopy(shuffledList));
DIterablesTest.java1215 iterables.add(Ordering.natural().sortedCopy(list));
1232 iterables.add(Ordering.natural().sortedCopy(list));
1241 Ordering.natural().sortedCopy(unsortedExpected);
/external/vogar/src/vogar/
DConsole.java190 AnnotatedOutcome.ORDER_BY_NAME.sortedCopy(annotatedOutcomes); in summarizeOutcomes()

12