Searched refs:SOME_COMPARATOR (Results 1 – 5 of 5) sorted by relevance
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MinMaxPriorityQueueTest.java | 48 private Ordering<Integer> SOME_COMPARATOR = Ordering.natural().reverse(); field in MinMaxPriorityQueueTest 62 .orderedBy(SOME_COMPARATOR) in testCreation_comparator() 66 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator() 80 .orderedBy(SOME_COMPARATOR) in testCreation_expectedSize_comparator() 85 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_expectedSize_comparator() 99 .orderedBy(SOME_COMPARATOR) in testCreation_comparator_maximumSize() 104 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator_maximumSize() 131 .orderedBy(SOME_COMPARATOR) in testCreation_comparator_withContents() 136 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator_withContents() 163 .orderedBy(SOME_COMPARATOR) in testCreation_allOptions() [all …]
|
D | SetsTest.java | 111 private static final Comparator<Integer> SOME_COMPARATOR field in SetsTest 530 TreeSet<Integer> set = Sets.newTreeSet(SOME_COMPARATOR); 531 verifySortedSetContents(set, EMPTY_COLLECTION, SOME_COMPARATOR);
|
D | MapsTest.java | 78 private static final Comparator<Integer> SOME_COMPARATOR = field in MapsTest 265 TreeMap<Integer, Integer> map = Maps.newTreeMap(SOME_COMPARATOR); in testTreeMapWithComparator() 267 assertSame(SOME_COMPARATOR, map.comparator()); in testTreeMapWithComparator()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | SetsTest.java | 86 private static final Comparator<Integer> SOME_COMPARATOR field in SetsTest 272 TreeSet<Integer> set = Sets.newTreeSet(SOME_COMPARATOR); in testNewTreeSetEmptyWithComparator() 273 verifySortedSetContents(set, EMPTY_COLLECTION, SOME_COMPARATOR); in testNewTreeSetEmptyWithComparator()
|
D | MapsTest.java | 66 private static final Comparator<Integer> SOME_COMPARATOR = field in MapsTest 204 TreeMap<Integer, Integer> map = Maps.newTreeMap(SOME_COMPARATOR); in testTreeMapWithComparator() 206 assertSame(SOME_COMPARATOR, map.comparator()); in testTreeMapWithComparator()
|