Home
last modified time | relevance | path

Searched refs:pollLast (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/main/java/java/util/
DDeque.java274 E pollLast(); in pollLast() method
DNavigableSet.java128 E pollLast(); in pollLast() method
DArrayDeque.java256 E x = pollLast(); in removeLast()
273 public E pollLast() { in pollLast() method in ArrayDeque
DTreeSet.java292 public E pollLast() { in pollLast() method in TreeSet
DLinkedList.java783 public E pollLast() { in pollLast() method in LinkedList
DTreeMap.java1021 public K pollLast() {
1585 public K pollLast() {
/libcore/jsr166-tests/src/test/java/jsr166/
DLinkedBlockingDequeTest.java128 assertEquals(i, q.pollLast()); in testPollLast()
130 assertNull(q.pollLast()); in testPollLast()
168 assertEquals(i, q.pollLast()); in testPeekLast()
198 assertEquals(i, q.pollLast()); in testLastElement()
286 q.pollLast(); in testAddFirst()
296 q.pollLast(); in testAddLast()
433 q.pollLast(); in testPushWithPeek()
1269 assertEquals(SIZE-i-1, q.pollLast(0, MILLISECONDS));
1271 assertNull(q.pollLast(0, MILLISECONDS));
1281 assertEquals(SIZE-i-1, q.pollLast(LONG_DELAY_MS, MILLISECONDS));
[all …]
DLinkedListTest.java536 assertEquals(i, q.pollLast()); in testPollLast()
538 assertNull(q.pollLast()); in testPollLast()
562 assertEquals(i, q.pollLast()); in testPeekLast()
588 assertEquals(i, q.pollLast()); in testLastElement()
DConcurrentLinkedDequeTest.java135 q.pollLast(); in testPush()
367 assertEquals(i, q.pollLast()); in testPollLast()
369 assertNull(q.pollLast()); in testPollLast()
468 assertEquals(i, q.pollLast()); in testPeekLast()
497 assertEquals(i, q.pollLast()); in testLastElement()
DArrayDequeTest.java133 q.pollLast(); in testPush()
354 assertEquals(i, q.pollLast()); in testPollLast()
356 assertNull(q.pollLast()); in testPollLast()
440 assertEquals(i, q.pollLast()); in testPeekLast()
484 assertEquals(i, q.pollLast()); in testLastElement()
DTreeSetTest.java275 assertEquals(i, q.pollLast()); in testPollLast()
DConcurrentSkipListSetTest.java271 assertEquals(i, q.pollLast()); in testPollLast()
/libcore/luni/src/main/java/java/util/concurrent/
DBlockingDeque.java360 E pollLast(long timeout, TimeUnit unit) in pollLast() method
DLinkedBlockingDeque.java429 E x = pollLast(); in removeLast()
444 public E pollLast() { in pollLast() method in LinkedBlockingDeque
498 public E pollLast(long timeout, TimeUnit unit) in pollLast() method in LinkedBlockingDeque
DConcurrentSkipListSet.java340 public E pollLast() { in pollLast() method in ConcurrentSkipListSet
DConcurrentLinkedDeque.java947 public E pollLast() { in pollLast() method in ConcurrentLinkedDeque
969 return screenNullResult(pollLast()); in removeLast()
DConcurrentSkipListMap.java2296 public E pollLast() { in pollLast() method in ConcurrentSkipListMap.KeySet
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayDequeTest.java253 assertEquals(testObjThree, testQue.pollLast()); in test_pollLast()
255 assertEquals(testObjTwo, testQue.pollLast()); in test_pollLast()
256 assertEquals(testObjOne, testQue.pollLast()); in test_pollLast()
294 assertEquals(testObjThree, testQue.pollLast()); in test_getLast()
296 assertEquals(testObjTwo, testQue.pollLast()); in test_getLast()
297 assertEquals(testObjOne, testQue.pollLast()); in test_getLast()
335 assertEquals(testObjThree, testQue.pollLast()); in test_peekLast()
337 assertEquals(testObjTwo, testQue.pollLast()); in test_peekLast()
338 assertEquals(testObjOne, testQue.pollLast()); in test_peekLast()
DLinkedListTest.java896 assertEquals(testObjThree, testList.pollLast()); in test_pollLast()
898 assertEquals(testObjTwo, testList.pollLast()); in test_pollLast()
899 assertEquals(testObjOne, testList.pollLast()); in test_pollLast()
932 assertEquals(testObjThree, testList.pollLast()); in test_peekLast()
934 assertEquals(testObjTwo, testList.pollLast()); in test_peekLast()
935 assertEquals(testObjOne, testList.pollLast()); in test_peekLast()
DTreeMapExtendTest.java3788 entry = (Entry) descendingSubMapEntrySet.pollLast();
3803 entry = (Entry) descendingSubMapEntrySet.pollLast();
3818 entry = (Entry) descendingSubMapEntrySet.pollLast();
3833 entry = (Entry) descendingSubMapEntrySet.pollLast();
3849 entry = (Entry) descendingEntrySet.pollLast();
3856 entry = (Entry) descendingEntrySet.pollLast();
5280 assertNull(keySet.pollLast());
5293 assertNull(keySet.pollLast());
5306 assertNull(keySet.pollLast());
5319 assertNull(keySet.pollLast());
[all …]