Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DConcurrentSkipListSubSetTest.java113 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 …]
DTreeSubSetTest.java105 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 …]
DTreeSetTest.java116 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 …]
DConcurrentSkipListSetTest.java112 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 …]
DLinkedBlockingDequeTest.java117 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 …]
DArrayDequeTest.java85 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()
DConcurrentLinkedDequeTest.java356 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()
DLinkedListTest.java548 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/
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.java880 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()
DTreeMapExtendTest.java3707 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/
DDeque.java266 E pollFirst(); in pollFirst() method
DNavigableSet.java120 E pollFirst(); in pollFirst() method
DArrayDeque.java246 E x = pollFirst(); in removeFirst()
262 public E pollFirst() { in pollFirst() method in ArrayDeque
427 return pollFirst(); in poll()
DTreeSet.java281 public E pollFirst() { in pollFirst() method in TreeSet
DLinkedList.java773 public E pollFirst() { in pollFirst() method in LinkedList
DTreeMap.java1016 public K pollFirst() {
1576 public K pollFirst() {
DCollections.java2761 return q.pollFirst();
/libcore/luni/src/main/java/java/util/concurrent/
DBlockingDeque.java344 E pollFirst(long timeout, TimeUnit unit) in pollFirst() method
DLinkedBlockingDeque.java420 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()
DConcurrentLinkedDeque.java936 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()
DConcurrentSkipListSet.java335 public E pollFirst() { in pollFirst() method in ConcurrentSkipListSet
DConcurrentSkipListMap.java2292 public E pollFirst() { in pollFirst() method in ConcurrentSkipListMap.KeySet