/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | TreeMultimap.java | 24 import java.util.Comparator; 74 private transient Comparator<? super K> keyComparator; 75 private transient Comparator<? super V> valueComparator; 95 Comparator<? super K> keyComparator, in create() 96 Comparator<? super V> valueComparator) { in create() 113 TreeMultimap(Comparator<? super K> keyComparator, in TreeMultimap() 114 Comparator<? super V> valueComparator) { in TreeMultimap() 120 private TreeMultimap(Comparator<? super K> keyComparator, in TreeMultimap() 121 Comparator<? super V> valueComparator, in TreeMultimap() 150 public Comparator<? super K> keyComparator() { in keyComparator() [all …]
|
D | ImmutableSortedSet.java | 25 import java.util.Comparator; 54 private static final Comparator NATURAL_ORDER = Ordering.natural(); 66 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() 180 Comparator<? super E> comparator, Iterable<? extends E> elements, in copyOfInternal() 201 Comparator<? super E> comparator, Iterator<? extends E> elements) { in copyOfInternal() [all …]
|
D | ImmutableSortedMap.java | 26 import java.util.Comparator; 41 static final Comparator NATURAL_ORDER = Ordering.natural(); 45 private Comparator<? super K> unusedComparatorForSerialization; 57 private final transient Comparator<? super K> comparator; 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() 132 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOfInternal() 139 Comparator<?> comparator2 = kvMap.comparator(); in copyOfInternal() [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/ |
D | CounterComparatorTest.java | 18 import java.util.Comparator; 31 final Comparator<ICounter> cmp = CounterComparator.TOTALITEMS; in testTotalItemsComparator() 39 final Comparator<ICounter> cmp = CounterComparator.COVEREDITEMS; in testCoveredItemsComparator() 47 final Comparator<ICounter> cmp = CounterComparator.MISSEDITEMS; in testMissedItemsComparator() 55 final Comparator<ICounter> cmp = CounterComparator.COVEREDRATIO; in testCoveredRatioComparator() 63 final Comparator<ICounter> cmp = CounterComparator.MISSEDRATIO; in testMissedRatioComparator() 71 final Comparator<ICounter> cmp = CounterComparator.TOTALITEMS.reverse(); in testReverseComparator() 79 final Comparator<ICounter> cmp = CounterComparator.TOTALITEMS.reverse() in testReverseReverseComparator() 90 final Comparator<ICoverageNode> cmp = CounterComparator.TOTALITEMS in testNodeComparator1() 99 final Comparator<ICoverageNode> cmp = CounterComparator.TOTALITEMS in testNodeComparator2() [all …]
|
/external/emma/core/java12/com/vladium/emma/report/ |
D | ItemComparator.java | 11 import java.util.Comparator; 18 interface ItemComparator extends Comparator 40 final Comparator [] comparators = new Comparator [attributeIDsWithDir.length >> 1]; in create() 45 …final Comparator comparator = IItemAttribute.Factory.getAttribute (attributeID, unitsID).comparato… in create() 70 ReverseComparator (final Comparator comparator) 76 private final Comparator m_comparator; 97 CompositeComparator (final Comparator [] comparators) 103 private final Comparator [] m_comparators;
|
D | IItemAttribute.java | 14 import java.util.Comparator; 43 Comparator /* IItem */ comparator (); in comparator() 89 public Comparator comparator () in comparator() 105 private static final class NameComparator implements Comparator 125 private final Comparator m_comparator; 133 public Comparator comparator () in comparator() 173 private final class FractionComparator implements Comparator 225 private final Comparator m_comparator;
|
/external/guava/guava/src/com/google/common/collect/ |
D | TreeMultimap.java | 28 import java.util.Comparator; 80 private transient Comparator<? super K> keyComparator; 81 private transient Comparator<? super V> valueComparator; 101 Comparator<? super K> keyComparator, in create() 102 Comparator<? super V> valueComparator) { in create() 119 TreeMultimap(Comparator<? super K> keyComparator, in TreeMultimap() 120 Comparator<? super V> valueComparator) { in TreeMultimap() 126 private TreeMultimap(Comparator<? super K> keyComparator, in TreeMultimap() 127 Comparator<? super V> valueComparator, in TreeMultimap() 156 public Comparator<? super K> keyComparator() { in keyComparator() [all …]
|
D | TreeBasedTable.java | 28 import java.util.Comparator; 80 private final Comparator<? super C> columnComparator; 84 final Comparator<? super C> comparator; 85 Factory(Comparator<? super C> comparator) { in Factory() 118 Comparator<? super R> rowComparator, in create() 119 Comparator<? super C> columnComparator) { in create() 138 TreeBasedTable(Comparator<? super R> rowComparator, in TreeBasedTable() 139 Comparator<? super C> columnComparator) { in TreeBasedTable() 151 public Comparator<? super R> rowComparator() { in rowComparator() 159 public Comparator<? super C> columnComparator() { in columnComparator() [all …]
|
D | SortedIterables.java | 21 import java.util.Comparator; 37 public static boolean hasSameComparator(Comparator<?> comparator, Iterable<?> elements) { in hasSameComparator() 40 Comparator<?> comparator2; in hasSameComparator() 53 public static <E> Comparator<? super E> comparator(SortedSet<E> sortedSet) { in comparator() 54 Comparator<? super E> result = sortedSet.comparator(); in comparator() 56 result = (Comparator<? super E>) Ordering.natural(); in comparator()
|
D | ImmutableSortedSet.java | 32 import java.util.Comparator; 97 private static final Comparator<Comparable> NATURAL_ORDER = 109 Comparator<? super E> comparator) { in emptySet() 325 Comparator<? super E> comparator, Iterator<? extends E> elements) { in copyOf() 343 Comparator<? super E> comparator, Iterable<? extends E> elements) { in copyOf() 379 Comparator<? super E> comparator, Collection<? extends E> elements) { in copyOf() 401 Comparator<? super E> comparator = SortedIterables.comparator(sortedSet); in copyOfSorted() 423 Comparator<? super E> comparator, int n, E... contents) { in construct() 450 public static <E> Builder<E> orderedBy(Comparator<E> comparator) { in orderedBy() 491 private final Comparator<? super E> comparator; [all …]
|
D | CompoundOrdering.java | 22 import java.util.Comparator; 27 final ImmutableList<Comparator<? super T>> comparators; 29 CompoundOrdering(Comparator<? super T> primary, in CompoundOrdering() 30 Comparator<? super T> secondary) { in CompoundOrdering() 32 = ImmutableList.<Comparator<? super T>>of(primary, secondary); in CompoundOrdering() 35 CompoundOrdering(Iterable<? extends Comparator<? super T>> comparators) { in CompoundOrdering()
|
D | SortedLists.java | 24 import java.util.Comparator; 56 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() 225 Comparator<? super K> keyComparator, in binarySearch() 256 Comparator<? super E> comparator, KeyPresentBehavior presentBehavior, in binarySearch()
|
D | ImmutableSortedMap.java | 27 import java.util.Comparator; 65 private static final Comparator<Comparable> NATURAL_ORDER = Ordering.natural(); 70 static <K, V> ImmutableSortedMap<K, V> emptyMap(Comparator<? super K> comparator) { in emptyMap() 79 Comparator<? super K> comparator, in fromSortedEntries() 222 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOf() 239 Comparator<? super K> comparator = map.comparator(); in copyOfSorted() 243 comparator = (Comparator<? super K>) NATURAL_ORDER; in copyOfSorted() 249 Map<? extends K, ? extends V> map, Comparator<? super K> comparator) { in copyOfInternal() 253 Comparator<?> comparator2 = sortedMap.comparator(); in copyOfInternal() 279 Comparator<? super K> comparator, boolean sameComparator, int size, Entry<K, V>... entries) { in fromEntries() [all …]
|
/external/smali/util/src/main/java/org/jf/util/ |
D | CollectionUtils.java | 75 public static <T> int compareAsIterable(@Nonnull Comparator<? super T> comparator, in compareAsIterable() 114 public static <T> int compareAsList(@Nonnull Comparator<? super T> elementComparator, in compareAsList() 128 public static <T> Comparator<Collection<? extends T>> listComparator( in listComparator() 129 @Nonnull final Comparator<? super T> elementComparator) { in listComparator() 130 return new Comparator<Collection<? extends T>>() { in listComparator() 141 Comparator<?> comparator = sortedSet.comparator(); 147 public static <T> boolean isSortedSet(@Nonnull Comparator<? extends T> elementComparator, 151 Comparator<?> comparator = sortedSet.comparator(); 169 …private static <T> SortedSet<? extends T> toSortedSet(@Nonnull Comparator<? super T> elementCompar… 173 Comparator<?> comparator = sortedSet.comparator(); [all …]
|
/external/junit/src/main/java/org/junit/internal/ |
D | MethodSorter.java | 5 import java.util.Comparator; 13 public static final Comparator<Method> DEFAULT = new Comparator<Method>() { 27 public static final Comparator<Method> NAME_ASCENDING = new Comparator<Method>() { 52 Comparator<Method> comparator = getSorter(clazz.getAnnotation(FixMethodOrder.class)); in getDeclaredMethods() 65 private static Comparator<Method> getSorter(FixMethodOrder fixMethodOrder) { in getSorter()
|
/external/guava/guava-tests/benchmark/com/google/common/collect/ |
D | MinMaxPriorityQueueBenchmark.java | 28 import java.util.Comparator; 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() 139 @Override public Comparator<Integer> get() { in get() 144 @Override public Comparator<Integer> get() { in get() 148 public abstract Comparator<Integer> get(); in get()
|
/external/clang/lib/Tooling/ |
D | FileMatchTrie.cpp | 99 StringRef findEquivalent(const PathComparator& Comparator, in findEquivalent() argument 104 if (Comparator.equivalent(StringRef(Path), FileName)) in findEquivalent() 114 Comparator, FileName, IsAmbiguous, in findEquivalent() 123 if (Comparator.equivalent(AllChildren[i], FileName)) { in findEquivalent() 165 : Root(new FileMatchTrieNode), Comparator(new DefaultPathComparator()) {} in FileMatchTrie() 167 FileMatchTrie::FileMatchTrie(PathComparator *Comparator) in FileMatchTrie() argument 168 : Root(new FileMatchTrieNode), Comparator(Comparator) {} in FileMatchTrie() 185 StringRef Result = Root->findEquivalent(*Comparator, FileName, IsAmbiguous); in findEquivalent()
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/ |
D | NodeComparator.java | 18 import java.util.Comparator; 29 public class NodeComparator implements Comparator<ICoverageNode>, Serializable { 33 private final Comparator<ICounter> counterComparator; 37 NodeComparator(final Comparator<ICounter> counterComparator, in NodeComparator() 51 public NodeComparator second(final Comparator<ICoverageNode> second) { in second() 52 final Comparator<ICoverageNode> first = this; in second()
|
/external/junit/src/main/java/org/junit/runner/manipulation/ |
D | Sorter.java | 3 import java.util.Comparator; 13 public class Sorter implements Comparator<Description> { 17 public static final Sorter NULL = new Sorter(new Comparator<Description>() { 23 private final Comparator<Description> comparator; 31 public Sorter(Comparator<Description> comparator) { in Sorter()
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/comparator/ |
D | ComparatorMatcherBuilder.java | 7 import java.util.Comparator; 13 private final Comparator<T> comparator; 22 return new ComparatorMatcherBuilder<T>(new Comparator<T>() { in usingNaturalOrdering() 39 public static <T> ComparatorMatcherBuilder<T> comparedBy(Comparator<T> comparator) { 43 …private ComparatorMatcherBuilder(Comparator<T> comparator, boolean includeComparatorInDescription)… 53 private final Comparator<T> comparator; 65 …private ComparatorMatcher(Comparator<T> comparator, T expected, int minCompare, int maxCompare, bo…
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
D | TreeMultimap_CustomFieldSerializer.java | 23 import java.util.Comparator; 39 Comparator<Object> keyComparator = (Comparator<Object>) in.readObject(); in instantiate() 40 Comparator<Object> valueComparator = (Comparator<Object>) in.readObject(); in instantiate()
|
D | TreeBasedTable_CustomFieldSerializer.java | 21 import java.util.Comparator; 35 Comparator<Object> rowComparator in instantiate() 36 = (Comparator<Object>) reader.readObject(); in instantiate() 38 Comparator<Object> columnComparator in instantiate() 39 = (Comparator<Object>) reader.readObject(); in instantiate()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | IterableComparator.java | 11 import java.util.Comparator; 18 public class IterableComparator<T> implements Comparator<Iterable<T>> { 19 private final Comparator<T> comparator; 26 public IterableComparator(Comparator<T> comparator) { in IterableComparator() 30 public IterableComparator(Comparator<T> comparator, boolean shorterFirst) { in IterableComparator()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | IterableComparator.java | 12 import java.util.Comparator; 20 public class IterableComparator<T> implements Comparator<Iterable<T>> { 21 private final Comparator<T> comparator; 28 public IterableComparator(Comparator<T> comparator) { in IterableComparator() 32 public IterableComparator(Comparator<T> comparator, boolean shorterFirst) { in IterableComparator()
|
/external/junit/src/main/java/org/junit/runners/ |
D | MethodSorters.java | 4 import java.util.Comparator; 32 private final Comparator<Method> comparator; 34 private MethodSorters(Comparator<Method> comparator) { in MethodSorters() 38 public Comparator<Method> getComparator() { in getComparator()
|