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/ |
D | ArrayDequeTest.java | 237 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 …]
|
D | LinkedListTest.java | 820 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()
|
D | TreeMapExtendTest.java | 3677 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/ |
D | SetNavigationTester.java | 88 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/ |
D | MinMaxPriorityQueueTest.java | 573 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/ |
D | SafeTreeSet.java | 147 @Override public E pollFirst() { in pollFirst() method in SafeTreeSet 148 return delegate.pollFirst(); in pollFirst()
|
/external/guava/guava/src/com/google/common/collect/ |
D | MinMaxPriorityQueue.java | 316 public E pollFirst() { in pollFirst() method in MinMaxPriorityQueue
|