/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentSkipListSubSetTest.java | 113 q.pollFirst(); in testEmpty() 114 q.pollFirst(); in testEmpty() 125 q.pollFirst(); in testSize() 224 assertEquals(new Integer(i), q.pollFirst()); in testAddAll5() 233 assertEquals(i, q.pollFirst()); in testPoll() 235 assertNull(q.pollFirst()); in testPoll() 266 q.pollFirst(); in testContains() 314 p.pollFirst(); in testRetainAll() 328 Integer I = (Integer)(p.pollFirst()); in testRemoveAll() 413 assertSame(o[i], q.pollFirst()); in testToArray() [all …]
|
D | TreeSubSetTest.java | 105 q.pollFirst(); in testEmpty() 106 q.pollFirst(); in testEmpty() 117 q.pollFirst(); in testSize() 216 assertEquals(new Integer(i), q.pollFirst()); in testAddAll5() 225 assertEquals(i, q.pollFirst()); in testPoll() 227 assertNull(q.pollFirst()); in testPoll() 258 q.pollFirst(); in testContains() 306 p.pollFirst(); in testRetainAll() 320 Integer I = (Integer)(p.pollFirst()); in testRemoveAll() 405 assertSame(o[i], q.pollFirst()); in testToArray() [all …]
|
D | TreeSetTest.java | 116 assertEquals(ints[i], q.pollFirst()); in testConstructor6() 131 assertEquals(ints[i], q.pollFirst()); in testConstructor7() 143 q.pollFirst(); in testEmpty() 144 q.pollFirst(); in testEmpty() 155 q.pollFirst(); in testSize() 255 assertEquals(new Integer(i), q.pollFirst()); in testAddAll5() 264 assertEquals(i, q.pollFirst()); in testPollFirst() 266 assertNull(q.pollFirst()); in testPollFirst() 277 assertNull(q.pollFirst()); in testPollLast() 308 q.pollFirst(); in testContains() [all …]
|
D | ConcurrentSkipListSetTest.java | 112 assertEquals(ints[i], q.pollFirst()); in testConstructor6() 127 assertEquals(ints[i], q.pollFirst()); in testConstructor7() 139 q.pollFirst(); in testEmpty() 140 q.pollFirst(); in testEmpty() 151 q.pollFirst(); in testSize() 251 assertEquals(i, q.pollFirst()); in testAddAll5() 260 assertEquals(i, q.pollFirst()); in testPollFirst() 262 assertNull(q.pollFirst()); in testPollFirst() 273 assertNull(q.pollFirst()); in testPollLast() 304 q.pollFirst(); in testContains() [all …]
|
D | LinkedBlockingDequeTest.java | 117 assertEquals(i, q.pollFirst()); in testPollFirst() 119 assertNull(q.pollFirst()); in testPollFirst() 140 assertEquals(i, q.pollFirst()); in testPeekFirst() 154 assertEquals(i, q.pollFirst()); in testPeek() 182 assertEquals(i, q.pollFirst()); in testFirstElement() 1004 assertEquals(i, q.pollFirst(0, MILLISECONDS)); in testTimedPollFirst0() 1006 assertNull(q.pollFirst(0, MILLISECONDS)); in testTimedPollFirst0() 1016 assertEquals(i, q.pollFirst(LONG_DELAY_MS, MILLISECONDS)); in testTimedPollFirst() 1020 assertNull(q.pollFirst(timeoutMillis(), MILLISECONDS)); in testTimedPollFirst() 1035 assertEquals(i, q.pollFirst(LONG_DELAY_MS, MILLISECONDS)); in testInterruptedTimedPollFirst() [all …]
|
D | ArrayDequeTest.java | 85 assertEquals(ints[i], q.pollFirst()); in testConstructor6() 334 assertEquals(ints[i], q.pollFirst()); in testAddAll5() 343 assertEquals(i, q.pollFirst()); in testPollFirst() 345 assertNull(q.pollFirst()); in testPollFirst() 412 assertEquals(i, q.pollFirst()); in testPeekFirst() 469 assertEquals(i, q.pollFirst()); in testFirstElement() 560 assertEquals(i, q.pollFirst()); in testContains()
|
D | ConcurrentLinkedDequeTest.java | 356 assertEquals(i, q.pollFirst()); in testPollFirst() 358 assertNull(q.pollFirst()); in testPollFirst() 454 assertEquals(i, q.pollFirst()); in testPeekFirst() 482 assertEquals(i, q.pollFirst()); in testFirstElement()
|
D | LinkedListTest.java | 548 assertEquals(i, q.pollFirst()); in testPeekFirst() 573 assertEquals(i, q.pollFirst()); in testFirstElement()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/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 | 880 assertEquals(testObjOne, testList.pollFirst()); in test_pollFirst() 882 assertEquals(testObjTwo, testList.pollFirst()); in test_pollFirst() 883 assertEquals(testObjThree, testList.pollFirst()); in test_pollFirst() 885 assertNull(testList.pollFirst()); in test_pollFirst() 901 assertNull(testList.pollFirst()); in test_pollLast() 914 assertEquals(testObjOne, testList.pollFirst()); in test_peekFirst() 916 assertEquals(testObjTwo, testList.pollFirst()); in test_peekFirst() 917 assertEquals(testObjThree, testList.pollFirst()); in test_peekFirst()
|
D | TreeMapExtendTest.java | 3707 entry = (Entry) descendingSubMapEntrySet.pollFirst(); 3710 assertNull(descendingSubMapEntrySet.pollFirst()); 3722 entry = (Entry) descendingSubMapEntrySet.pollFirst(); 3725 assertNull(descendingSubMapEntrySet.pollFirst()); 3737 entry = (Entry) descendingSubMapEntrySet.pollFirst(); 3740 assertNull(descendingSubMapEntrySet.pollFirst()); 3752 entry = (Entry) descendingSubMapEntrySet.pollFirst(); 3755 assertNull(descendingSubMapEntrySet.pollFirst()); 3768 entry = (Entry) descendingEntrySet.pollFirst(); 3775 entry = (Entry) descendingEntrySet.pollFirst(); [all …]
|
/libcore/luni/src/main/java/java/util/ |
D | Deque.java | 266 E pollFirst(); in pollFirst() method
|
D | NavigableSet.java | 120 E pollFirst(); in pollFirst() method
|
D | ArrayDeque.java | 246 E x = pollFirst(); in removeFirst() 262 public E pollFirst() { in pollFirst() method in ArrayDeque 427 return pollFirst(); in poll()
|
D | TreeSet.java | 281 public E pollFirst() { in pollFirst() method in TreeSet
|
D | LinkedList.java | 773 public E pollFirst() { in pollFirst() method in LinkedList
|
D | TreeMap.java | 1016 public K pollFirst() { 1576 public K pollFirst() {
|
D | Collections.java | 2761 return q.pollFirst();
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | BlockingDeque.java | 344 E pollFirst(long timeout, TimeUnit unit) in pollFirst() method
|
D | LinkedBlockingDeque.java | 420 E x = pollFirst(); in removeFirst() 434 public E pollFirst() { in pollFirst() method in LinkedBlockingDeque 480 public E pollFirst(long timeout, TimeUnit unit) in pollFirst() method in LinkedBlockingDeque 645 return pollFirst(); in poll() 653 return pollFirst(timeout, unit); in poll()
|
D | ConcurrentLinkedDeque.java | 936 public E pollFirst() { in pollFirst() method in ConcurrentLinkedDeque 962 return screenNullResult(pollFirst()); in removeFirst() 997 public E poll() { return pollFirst(); } in poll() 1179 while (pollFirst() != null) in clear()
|
D | ConcurrentSkipListSet.java | 335 public E pollFirst() { in pollFirst() method in ConcurrentSkipListSet
|
D | ConcurrentSkipListMap.java | 2292 public E pollFirst() { in pollFirst() method in ConcurrentSkipListMap.KeySet
|