Home
last modified time | relevance | path

Searched refs:pollFirst (Results 1 – 7 of 7) sorted by relevance

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DArrayDequeTest.java237 assertEquals(testObjOne, testQue.pollFirst()); in test_pollFirst()
239 assertEquals(testObjTwo, testQue.pollFirst()); in test_pollFirst()
240 assertEquals(testObjThree, testQue.pollFirst()); in test_pollFirst()
242 assertNull(testQue.pollFirst()); in test_pollFirst()
258 assertNull(testQue.pollFirst()); in test_pollLast()
271 assertEquals(testObjOne, testQue.pollFirst()); in test_getFirst()
273 assertEquals(testObjTwo, testQue.pollFirst()); in test_getFirst()
274 assertEquals(testObjThree, testQue.pollFirst()); in test_getFirst()
317 assertEquals(testObjOne, testQue.pollFirst()); in test_peekFirst()
319 assertEquals(testObjTwo, testQue.pollFirst()); in test_peekFirst()
[all …]
DLinkedListTest.java820 assertEquals(testObjOne, testList.pollFirst()); in test_pollFirst()
822 assertEquals(testObjTwo, testList.pollFirst()); in test_pollFirst()
823 assertEquals(testObjThree, testList.pollFirst()); in test_pollFirst()
825 assertNull(testList.pollFirst()); in test_pollFirst()
841 assertNull(testList.pollFirst()); in test_pollLast()
854 assertEquals(testObjOne, testList.pollFirst()); in test_peekFirst()
856 assertEquals(testObjTwo, testList.pollFirst()); in test_peekFirst()
857 assertEquals(testObjThree, testList.pollFirst()); in test_peekFirst()
DTreeMapExtendTest.java3677 entry = (Entry) descendingSubMapEntrySet.pollFirst();
3680 assertNull(descendingSubMapEntrySet.pollFirst());
3692 entry = (Entry) descendingSubMapEntrySet.pollFirst();
3695 assertNull(descendingSubMapEntrySet.pollFirst());
3707 entry = (Entry) descendingSubMapEntrySet.pollFirst();
3710 assertNull(descendingSubMapEntrySet.pollFirst());
3722 entry = (Entry) descendingSubMapEntrySet.pollFirst();
3725 assertNull(descendingSubMapEntrySet.pollFirst());
3738 entry = (Entry) descendingEntrySet.pollFirst();
3745 entry = (Entry) descendingEntrySet.pollFirst();
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
DSetNavigationTester.java88 assertNull(navigableSet.pollFirst()); in testEmptySetPollFirst()
122 assertEquals(a, navigableSet.pollFirst()); in testSingletonSetPollFirst()
154 assertEquals(a, navigableSet.pollFirst()); in testPollFirst()
162 navigableSet.pollFirst(); in testPollFirstUnsupported()
/external/guava/guava-tests/test/com/google/common/collect/
DMinMaxPriorityQueueTest.java573 actual.add(q.pollFirst()); in testCorrectOrdering_regression()
586 elements.add(q.pollFirst()); in testCorrectOrdering_smallHeapsPollFirst()
616 elements.add(q.pollFirst()); in testCorrectOrdering_mediumHeapsPollFirst()
634 elements.add(q.pollFirst()); in testCorrectOrdering_73ElementBug()
671 assertEquals("Using seed " + seed, control.poll(), q.pollFirst()); in testCorrectOrdering_randomAccess()
675 assertEquals("Using seed " + seed, control.poll(), q.pollFirst()); in testCorrectOrdering_randomAccess()
691 Integer next = q.pollFirst(); in testRegression_dataCorruption()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSafeTreeSet.java147 @Override public E pollFirst() { in pollFirst() method in SafeTreeSet
148 return delegate.pollFirst(); in pollFirst()
/external/guava/guava/src/com/google/common/collect/
DMinMaxPriorityQueue.java316 public E pollFirst() { in pollFirst() method in MinMaxPriorityQueue