Home
last modified time | relevance | path

Searched refs:SOME_COMPARATOR (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava-tests/test/com/google/common/collect/
DMinMaxPriorityQueueTest.java59 private static final Ordering<Integer> SOME_COMPARATOR = Ordering.natural().reverse(); field in MinMaxPriorityQueueTest
89 MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).create(); in testCreation_comparator()
92 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator()
104 MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).expectedSize(8).create(); in testCreation_expectedSize_comparator()
107 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_expectedSize_comparator()
119 MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).maximumSize(42).create(); in testCreation_comparator_maximumSize()
122 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator_maximumSize()
145 MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).create(NUMBERS); in testCreation_comparator_withContents()
149 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator_withContents()
172 MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR) in testCreation_allOptions()
[all …]
DSetsTest.java108 private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder(); field in SetsTest
565 TreeSet<Integer> set = Sets.newTreeSet(SOME_COMPARATOR);
566 verifySortedSetContents(set, EMPTY_COLLECTION, SOME_COMPARATOR);
DMapsTest.java77 private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder(); field in MapsTest
289 TreeMap<Integer, Integer> map = Maps.newTreeMap(SOME_COMPARATOR); in testTreeMapWithComparator()
291 assertSame(SOME_COMPARATOR, map.comparator()); in testTreeMapWithComparator()
/external/guava/android/guava-tests/test/com/google/common/collect/
DMinMaxPriorityQueueTest.java59 private static final Ordering<Integer> SOME_COMPARATOR = Ordering.natural().reverse(); field in MinMaxPriorityQueueTest
89 MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).create(); in testCreation_comparator()
92 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator()
104 MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).expectedSize(8).create(); in testCreation_expectedSize_comparator()
107 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_expectedSize_comparator()
119 MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).maximumSize(42).create(); in testCreation_comparator_maximumSize()
122 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator_maximumSize()
145 MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR).create(NUMBERS); in testCreation_comparator_withContents()
149 assertSame(SOME_COMPARATOR, queue.comparator()); in testCreation_comparator_withContents()
172 MinMaxPriorityQueue.orderedBy(SOME_COMPARATOR) in testCreation_allOptions()
[all …]
DSetsTest.java107 private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder(); field in SetsTest
553 TreeSet<Integer> set = Sets.newTreeSet(SOME_COMPARATOR);
554 verifySortedSetContents(set, EMPTY_COLLECTION, SOME_COMPARATOR);
DMapsTest.java77 private static final Comparator<Integer> SOME_COMPARATOR = Collections.reverseOrder(); field in MapsTest
289 TreeMap<Integer, Integer> map = Maps.newTreeMap(SOME_COMPARATOR); in testTreeMapWithComparator()
291 assertSame(SOME_COMPARATOR, map.comparator()); in testTreeMapWithComparator()