Home
last modified time | relevance | path

Searched defs:comparator (Results 1 – 25 of 139) sorted by relevance

123456

/external/guava/guava/src/com/google/common/collect/
DImmutableSortedSet.java104 Comparator<? super E> comparator) { in emptySet()
316 Comparator<? super E> comparator, Iterator<? extends E> elements) { in copyOf()
335 Comparator<? super E> comparator, Iterable<? extends E> elements) { in copyOf()
359 Comparator<? super E> comparator, Collection<? extends E> elements) { in copyOf()
383 Comparator<? super E> comparator = sortedSet.comparator(); in copyOfSorted() local
391 Comparator<? super E> comparator, Iterable<? extends E> elements) { in copyOfInternal()
410 Comparator<? super E> comparator, Iterator<? extends E> elements) { in copyOfInternal()
426 public static <E> Builder<E> orderedBy(Comparator<E> comparator) { in orderedBy()
477 private final Comparator<? super E> comparator; field in ImmutableSortedSet.Builder
483 public Builder(Comparator<? super E> comparator) { in Builder()
[all …]
DSortedIterables.java45 public static boolean hasSameComparator(Comparator<?> comparator, Iterable<?> elements) { in hasSameComparator()
69 Comparator<? super E> comparator, Iterator<E> elements) { in sortedUnique()
81 Comparator<? super E> comparator, Iterable<E> elements) { in sortedUnique()
101 Comparator<? super E> comparator, E[] array) { in uniquifySortedArray()
123 Comparator<? super E> comparator, Iterator<E> elements) { in sortedCounts()
134 Comparator<? super E> comparator, Iterable<E> elements) { in sortedCounts()
DImmutableSortedMultiset.java233 Comparator<? super E> comparator, Iterator<? extends E> elements) { in copyOf()
249 Comparator<? super E> comparator, Iterable<? extends E> elements) { in copyOf()
270 Comparator<? super E> comparator = sortedMultiset.comparator(); in copyOfSorted() local
279 Comparator<? super E> comparator, Iterable<? extends E> iterable) { in copyOfInternal()
297 Comparator<? super E> comparator, Iterator<? extends E> iterator) { in copyOfInternal()
315 static <E> ImmutableSortedMultiset<E> emptyMultiset(Comparator<? super E> comparator) { in emptyMultiset()
322 private final transient Comparator<? super E> comparator; field in ImmutableSortedMultiset
324 ImmutableSortedMultiset(Comparator<? super E> comparator) { in ImmutableSortedMultiset()
329 public Comparator<? super E> comparator() { in comparator() method in ImmutableSortedMultiset
419 public static <E> Builder<E> orderedBy(Comparator<E> comparator) { in orderedBy()
[all …]
DGeneralRange.java59 static <T> GeneralRange<T> all(Comparator<? super T> comparator) { in all()
67 static <T> GeneralRange<T> downTo(Comparator<? super T> comparator, @Nullable T endpoint, in downTo()
76 static <T> GeneralRange<T> upTo(Comparator<? super T> comparator, @Nullable T endpoint, in upTo()
85 static <T> GeneralRange<T> range(Comparator<? super T> comparator, @Nullable T lower, in range()
90 private final Comparator<? super T> comparator; field in GeneralRange
100 private GeneralRange(Comparator<? super T> comparator, boolean hasLowerBound, in GeneralRange()
128 Comparator<? super T> comparator() { in comparator() method in GeneralRange
DImmutableSortedMap.java91 Comparator<? super K> comparator) { in emptyMap()
200 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOf()
217 Comparator<? super K> comparator = map.comparator(); in copyOfSorted() local
227 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOfInternal()
269 List<Entry<K, V>> entries, final Comparator<? super K> comparator) { in sortEntries()
281 Comparator<? super K> comparator) { in validateEntries()
314 public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) { in orderedBy()
352 private final Comparator<? super K> comparator; field in ImmutableSortedMap.Builder
358 public Builder(Comparator<? super K> comparator) { in Builder()
414 private final transient Comparator<? super K> comparator; field in ImmutableSortedMap
[all …]
DAbstractSortedMultiset.java36 final Comparator<? super E> comparator; field in AbstractSortedMultiset
44 AbstractSortedMultiset(Comparator<? super E> comparator) { in AbstractSortedMultiset()
DSortedLists.java56 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex) { in resultIndex()
66 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex) { in resultIndex()
90 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex) { in resultIndex()
116 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex) { in resultIndex()
127 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex) { in resultIndex()
132 Comparator<? super E> comparator, E key, List<? extends E> list, int foundIndex); in resultIndex()
256 Comparator<? super E> comparator, KeyPresentBehavior presentBehavior, in binarySearch()
DComparatorOrdering.java33 final Comparator<T> comparator; field in ComparatorOrdering
35 ComparatorOrdering(Comparator<T> comparator) { in ComparatorOrdering()
DRegularImmutableSortedMultiset.java58 static <E> RegularImmutableSortedMultiset<E> createFromSorted(Comparator<? super E> comparator, in createFromSorted()
72 Comparator<? super E> comparator, ImmutableList<CumulativeCountEntry<E>> entries) { in RegularImmutableSortedMultiset()
DSortedMultisets.java46 @Override public Comparator<? super E> comparator() { in comparator() method in SortedMultisets.ElementSet
88 private transient Comparator<? super E> comparator; field in SortedMultisets.DescendingMultiset
90 @Override public Comparator<? super E> comparator() { in comparator() method in SortedMultisets.DescendingMultiset
DForwardingSortedSet.java66 public Comparator<? super E> comparator() { in comparator() method in ForwardingSortedSet
98 Comparator<? super E> comparator = comparator(); in unsafeCompare() local
DTreeBasedTable.java80 final Comparator<? super C> comparator; field in TreeBasedTable.Factory
81 Factory(Comparator<? super C> comparator) { in Factory()
192 @Override public Comparator<? super C> comparator() { in comparator() method in TreeBasedTable.TreeRow
341 final Comparator<? super C> comparator = columnComparator(); in createColumnKeyIterator() local
DSortedIterable.java34 Comparator<? super T> comparator(); in comparator() method
DForwardingSortedMap.java65 public Comparator<? super K> comparator() { in comparator() method in ForwardingSortedMap
97 Comparator<? super K> comparator = comparator(); in unsafeCompare() local
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedSet.java63 Comparator<? super E> comparator) { in emptySet()
124 Comparator<? super E> comparator, E... elements) { in ofInternal()
160 Comparator<? super E> comparator, Iterable<? extends E> elements) { in copyOf()
166 Comparator<? super E> comparator, Collection<? extends E> elements) { in copyOf()
172 Comparator<? super E> comparator, Iterator<? extends E> elements) { in copyOf()
179 Comparator<? super E> comparator = sortedSet.comparator(); in copyOfSorted() local
187 Comparator<? super E> comparator, Iterable<? extends E> elements, in copyOfInternal()
208 Comparator<? super E> comparator, Iterator<? extends E> elements) { in copyOfInternal()
223 Iterable<?> elements, Comparator<?> comparator) { in hasSameComparator()
249 ImmutableSortedSet(Comparator<? super E> comparator) { in ImmutableSortedSet()
[all …]
DImmutableSortedMap.java63 private transient final Comparator<K> comparator; field in ImmutableSortedMap
76 Comparator<? super K> comparator, in create()
127 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOf()
136 Comparator<? super K> comparator = in copyOfSorted() local
142 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOfInternal()
186 public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) { in orderedBy()
195 private final Comparator<? super K> comparator; field in ImmutableSortedMap.Builder
197 public Builder(Comparator<? super K> comparator) { in Builder()
244 public Comparator<? super K> comparator() { in comparator() method in ImmutableSortedMap
314 static <K, V> ImmutableSortedMap<K, V> emptyMap(Comparator<? super K> comparator) { in emptyMap()
DEmptyImmutableSortedSet.java27 EmptyImmutableSortedSet(Comparator<? super E> comparator) { in EmptyImmutableSortedSet()
/external/replicaisland/src/com/replica/replicaisland/
DQuickSorter.java22 public void sort(Type[] array, int count, Comparator<Type> comparator) { in sort()
45 public void quicksort(Type[] a, int left, int right, Comparator<Type> comparator) { in quicksort()
53 private int partition(Type[] a, int left, int right, Comparator<Type> comparator) { in partition()
DShellSorter.java30 public void sort(Type[] array, int count, Comparator<Type> comparator) { in sort()
59 Comparator<Type> comparator) { in insertionSort()
/external/smali/util/src/main/java/org/jf/util/
DArraySortedSet.java40 @Nonnull private final Comparator<? super T> comparator; field in ArraySortedSet
43 private ArraySortedSet(@Nonnull Comparator<? super T> comparator, @Nonnull T[] arr) { in ArraySortedSet()
49 …blic static <T> ArraySortedSet<T> of(@Nonnull Comparator<? super T> comparator, @Nonnull T[] arr) { in of()
131 public Comparator<? super T> comparator() { in comparator() method in ArraySortedSet
/external/easymock/src/org/easymock/internal/matchers/
DCompare.java30 private Comparator<? super T> comparator; field in Compare
34 public Compare(T expected, Comparator<? super T> comparator, LogicalOperator result) { in Compare()
/external/chromium_org/cc/test/
Dpixel_test.cc45 const PixelComparator& comparator) { in RunPixelTest()
56 const PixelComparator& comparator) { in RunPixelTestWithReadbackTarget()
93 const PixelComparator& comparator) { in PixelsMatchReference()
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DSetGenerators.java192 Comparator<String> comparator = createExplicitComparator(elements); in create() local
202 Comparator<String> comparator = createExplicitComparator(elements); in create() local
216 Comparator<String> comparator = createExplicitComparator(elements); in create() local
229 Comparator<String> comparator = createExplicitComparator(elements); in create() local
/external/guava/guava-tests/test/com/google/common/primitives/
DSignedBytesTest.java147 Comparator<byte[]> comparator = SignedBytes.lexicographicalComparator(); in testLexicographicalComparator() local
153 Comparator<byte[]> comparator = SignedBytes.lexicographicalComparator(); in testLexicographicalComparatorSerializable() local
/external/chromium_org/content/browser/indexed_db/leveldb/
Dleveldb_unittest.cc46 SimpleComparator comparator; in TEST() local
94 SimpleComparator comparator; in TEST() local
160 SimpleComparator comparator; in TEST() local
210 SimpleComparator comparator; in TEST() local

123456