Home
last modified time | relevance | path

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

1234567

/external/guava/guava-tests/benchmark/com/google/common/collect/
DMinMaxPriorityQueueBenchmark.java39 @Param private ComparatorType comparator; field in MinMaxPriorityQueueBenchmark
82 public InvertedMinMaxPriorityQueue(Comparator<T> comparator) { in InvertedMinMaxPriorityQueue()
100 @Override public Queue<Integer> create(Comparator<Integer> comparator) { in create()
105 @Override public Queue<Integer> create(Comparator<Integer> comparator) { in create()
110 @Override public Queue<Integer> create(Comparator<Integer> comparator) { in create()
115 public abstract Queue<Integer> create(Comparator<Integer> comparator); in create()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSortedSet.java66 Comparator<? super E> comparator) { in emptySet()
120 Comparator<? super E> comparator, E... elements) { in ofInternal()
153 Comparator<? super E> comparator, Iterable<? extends E> elements) { in copyOf()
159 Comparator<? super E> comparator, Collection<? extends E> elements) { in copyOf()
165 Comparator<? super E> comparator, Iterator<? extends E> elements) { in copyOf()
172 Comparator<? super E> comparator = sortedSet.comparator(); in copyOfSorted() local
180 Comparator<? super E> comparator, Iterable<? extends E> elements, in copyOfInternal()
201 Comparator<? super E> comparator, Iterator<? extends E> elements) { in copyOfInternal()
216 Iterable<?> elements, Comparator<?> comparator) { in hasSameComparator()
255 ImmutableSortedSet(Comparator<? super E> comparator) { in ImmutableSortedSet()
[all …]
DImmutableSortedMap.java57 private final transient Comparator<? super K> comparator; field in ImmutableSortedMap
59 ImmutableSortedMap(SortedMap<K, V> delegate, Comparator<? super K> comparator) { in ImmutableSortedMap()
66 Comparator<? super K> comparator, in create()
117 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOf()
126 Comparator<? super K> comparator = in copyOfSorted() local
132 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOfInternal()
176 public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) { in orderedBy()
185 private final Comparator<? super K> comparator; field in ImmutableSortedMap.Builder
187 public Builder(Comparator<? super K> comparator) { in Builder()
234 public Comparator<? super K> comparator() { in comparator() method in ImmutableSortedMap
[all …]
DEmptyImmutableSortedMap.java28 private EmptyImmutableSortedMap(Comparator<? super K> comparator) { in EmptyImmutableSortedMap()
36 static <K, V> ImmutableSortedMap<K, V> forComparator(Comparator<? super K> comparator) { in forComparator()
DAbstractSortedMultiset.java38 @GwtTransient final Comparator<? super E> comparator; field in AbstractSortedMultiset
46 AbstractSortedMultiset(Comparator<? super E> comparator) { in AbstractSortedMultiset()
61 public Comparator<? super E> comparator() { in comparator() method in AbstractSortedMultiset
/external/guava/guava/src/com/google/common/collect/
DImmutableSortedSet.java108 Comparator<? super E> comparator) { in emptySet()
324 Comparator<? super E> comparator, Iterator<? extends E> elements) { in copyOf()
342 Comparator<? super E> comparator, Iterable<? extends E> elements) { in copyOf()
378 Comparator<? super E> comparator, Collection<? extends E> elements) { in copyOf()
400 Comparator<? super E> comparator = SortedIterables.comparator(sortedSet); in copyOfSorted() local
422 Comparator<? super E> comparator, int n, E... contents) { in construct()
449 public static <E> Builder<E> orderedBy(Comparator<E> comparator) { in orderedBy()
490 private final Comparator<? super E> comparator; field in ImmutableSortedSet.Builder
496 public Builder(Comparator<? super E> comparator) { in Builder()
572 Comparator<?> comparator, Object a, Object b) { in unsafeCompare()
[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.java69 static <K, V> ImmutableSortedMap<K, V> emptyMap(Comparator<? super K> comparator) { in emptyMap()
78 Comparator<? super K> comparator, in fromSortedEntries()
221 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOf()
238 Comparator<? super K> comparator = map.comparator(); in copyOfSorted() local
248 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOfInternal()
278 Comparator<? super K> comparator, boolean sameComparator, int size, Entry<K, V>... entries) { in fromEntries()
292 final Comparator<? super K> comparator, int size, Entry<K, V>[] entries) { in sortEntries()
297 Comparator<? super K> comparator) { in validateEntries()
321 public static <K, V> Builder<K, V> orderedBy(Comparator<K> comparator) { in orderedBy()
354 private final Comparator<? super K> comparator; field in ImmutableSortedMap.Builder
[all …]
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()
DImmutableSortedMultiset.java237 Comparator<? super E> comparator, Iterator<? extends E> elements) { in copyOf()
253 Comparator<? super E> comparator, Iterable<? extends E> elements) { in copyOf()
291 Comparator<? super E> comparator, Collection<Entry<E>> entries) { in copyOfSortedEntries()
311 static <E> ImmutableSortedMultiset<E> emptyMultiset(Comparator<? super E> comparator) { in emptyMultiset()
321 public final Comparator<? super E> comparator() { in comparator() method in ImmutableSortedMultiset
389 public static <E> Builder<E> orderedBy(Comparator<E> comparator) { in orderedBy()
443 public Builder(Comparator<? super E> comparator) { in Builder()
543 Comparator<? super E> comparator; field in ImmutableSortedMultiset.SerializedForm
DSortedIterables.java37 public static boolean hasSameComparator(Comparator<?> comparator, Iterable<?> elements) { in hasSameComparator()
53 public static <E> Comparator<? super E> comparator(SortedSet<E> sortedSet) { in comparator() method in SortedIterables
DAbstractSortedMultiset.java38 @GwtTransient final Comparator<? super E> comparator; field in AbstractSortedMultiset
46 AbstractSortedMultiset(Comparator<? super E> comparator) { in AbstractSortedMultiset()
61 public Comparator<? super E> comparator() { in comparator() method in AbstractSortedMultiset
DComparatorOrdering.java31 final Comparator<T> comparator; field in ComparatorOrdering
33 ComparatorOrdering(Comparator<T> comparator) { in ComparatorOrdering()
DTreeBasedTable.java84 final Comparator<? super C> comparator; field in TreeBasedTable.Factory
85 Factory(Comparator<? super C> comparator) { in Factory()
200 @Override public Comparator<? super C> comparator() { in comparator() method in TreeBasedTable.TreeRow
317 final Comparator<? super C> comparator = columnComparator(); in createColumnKeyIterator() local
/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DIterableComparator.java13 private final Comparator<T> comparator; field in IterableComparator
20 public IterableComparator(Comparator<T> comparator) { in IterableComparator()
24 public IterableComparator(Comparator<T> comparator, boolean shorterFirst) { in IterableComparator()
/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/guava/guava-testlib/src/com/google/common/collect/testing/
DSafeTreeMap.java49 public SafeTreeMap(Comparator<? super K> comparator) { in SafeTreeMap()
72 @Override public Comparator<? super K> comparator() { in comparator() method in SafeTreeMap
73 Comparator<? super K> comparator = delegate.comparator(); in comparator() local
DSafeTreeSet.java50 public SafeTreeSet(Comparator<? super E> comparator) { in SafeTreeSet()
77 @Override public Comparator<? super E> comparator() { in comparator() method in SafeTreeSet
78 Comparator<? super E> comparator = delegate.comparator(); in comparator() local
/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/apache-commons-math/src/main/java/org/apache/commons/math/optimization/direct/
DDirectSearchOptimizer.java272 final Comparator<RealPointValuePair> comparator = in optimize() local
329 protected abstract void iterateSimplex(final Comparator<RealPointValuePair> comparator) in iterateSimplex()
384 protected void evaluateSimplex(final Comparator<RealPointValuePair> comparator) in evaluateSimplex()
406 final Comparator<RealPointValuePair> comparator) { in replaceWorstPoint()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DOrderingTest.java59 Ordering<Object> comparator = Ordering.allEqual(); in testAllEqual() local
74 Ordering<Integer> comparator = Ordering.natural(); in testNatural() local
/external/guava/guava-tests/test/com/google/common/collect/
DOrderingTest.java61 Ordering<Object> comparator = Ordering.allEqual(); in testAllEqual() local
76 Ordering<Integer> comparator = Ordering.natural(); in testNatural() local
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/queue/
DGeometryList.java54 private GeometryComparator comparator; field in GeometryList
62 public GeometryList(GeometryComparator comparator) { in GeometryList()

1234567