Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/java/util/
DDeque.java304 E pollLast(); in pollLast() method
DNavigableSet.java161 E pollLast(); in pollLast() method
DTreeSet.java461 public E pollLast() { in pollLast() method in TreeSet
DArrayDeque.java278 E x = pollLast(); in removeLast()
297 public E pollLast() { in pollLast() method in ArrayDeque
/libcore/ojluni/src/test/java/util/concurrent/tck/
DLinkedBlockingDequeTest.java189 assertEquals(i, q.pollLast()); in testPollLast()
191 assertNull(q.pollLast()); in testPollLast()
229 assertEquals(i, q.pollLast()); in testPeekLast()
259 assertEquals(i, q.pollLast()); in testLastElement()
347 q.pollLast(); in testAddFirst()
357 q.pollLast(); in testAddLast()
494 q.pollLast(); in testPushWithPeek()
1330 assertEquals(SIZE - i - 1, q.pollLast(0, MILLISECONDS));
1332 assertNull(q.pollLast(0, MILLISECONDS));
1342 assertEquals(SIZE - i - 1, q.pollLast(LONG_DELAY_MS, MILLISECONDS));
[all …]
DLinkedListTest.java596 assertEquals(i, q.pollLast()); in testPollLast()
598 assertNull(q.pollLast()); in testPollLast()
622 assertEquals(i, q.pollLast()); in testPeekLast()
648 assertEquals(i, q.pollLast()); in testLastElement()
DConcurrentLinkedDequeTest.java181 q.pollLast(); in testPush()
412 assertEquals(i, q.pollLast()); in testPollLast()
414 assertNull(q.pollLast()); in testPollLast()
513 assertEquals(i, q.pollLast()); in testPeekLast()
542 assertEquals(i, q.pollLast()); in testLastElement()
DArrayDequeTest.java210 q.pollLast(); in testPush()
430 assertEquals(i, q.pollLast()); in testPollLast()
432 assertNull(q.pollLast()); in testPollLast()
516 assertEquals(i, q.pollLast()); in testPeekLast()
560 assertEquals(i, q.pollLast()); in testLastElement()
/libcore/jsr166-tests/src/test/java/jsr166/
DLinkedBlockingDequeTest.java155 assertEquals(i, q.pollLast()); in testPollLast()
157 assertNull(q.pollLast()); in testPollLast()
195 assertEquals(i, q.pollLast()); in testPeekLast()
225 assertEquals(i, q.pollLast()); in testLastElement()
313 q.pollLast(); in testAddFirst()
323 q.pollLast(); in testAddLast()
460 q.pollLast(); in testPushWithPeek()
1296 assertEquals(SIZE - i - 1, q.pollLast(0, MILLISECONDS));
1298 assertNull(q.pollLast(0, MILLISECONDS));
1308 assertEquals(SIZE - i - 1, q.pollLast(LONG_DELAY_MS, MILLISECONDS));
[all …]
DLinkedListTest.java555 assertEquals(i, q.pollLast()); in testPollLast()
557 assertNull(q.pollLast()); in testPollLast()
581 assertEquals(i, q.pollLast()); in testPeekLast()
607 assertEquals(i, q.pollLast()); in testLastElement()
DConcurrentLinkedDequeTest.java147 q.pollLast(); in testPush()
378 assertEquals(i, q.pollLast()); in testPollLast()
380 assertNull(q.pollLast()); in testPollLast()
479 assertEquals(i, q.pollLast()); in testPeekLast()
508 assertEquals(i, q.pollLast()); in testLastElement()
DArrayDequeTest.java143 q.pollLast(); in testPush()
363 assertEquals(i, q.pollLast()); in testPollLast()
365 assertNull(q.pollLast()); in testPollLast()
449 assertEquals(i, q.pollLast()); in testPeekLast()
493 assertEquals(i, q.pollLast()); in testLastElement()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DArrayDequeTest.java258 assertEquals(testObjThree, testQue.pollLast()); in test_pollLast()
260 assertEquals(testObjTwo, testQue.pollLast()); in test_pollLast()
261 assertEquals(testObjOne, testQue.pollLast()); in test_pollLast()
299 assertEquals(testObjThree, testQue.pollLast()); in test_getLast()
301 assertEquals(testObjTwo, testQue.pollLast()); in test_getLast()
302 assertEquals(testObjOne, testQue.pollLast()); in test_getLast()
340 assertEquals(testObjThree, testQue.pollLast()); in test_peekLast()
342 assertEquals(testObjTwo, testQue.pollLast()); in test_peekLast()
343 assertEquals(testObjOne, testQue.pollLast()); in test_peekLast()
DLinkedListTest.java901 assertEquals(testObjThree, testList.pollLast()); in test_pollLast()
903 assertEquals(testObjTwo, testList.pollLast()); in test_pollLast()
904 assertEquals(testObjOne, testList.pollLast()); in test_pollLast()
937 assertEquals(testObjThree, testList.pollLast()); in test_peekLast()
939 assertEquals(testObjTwo, testList.pollLast()); in test_peekLast()
940 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 …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DBlockingDeque.java396 E pollLast(long timeout, TimeUnit unit) in pollLast() method
DLinkedBlockingDeque.java461 E x = pollLast(); in removeLast()
476 public E pollLast() { in pollLast() method in LinkedBlockingDeque
530 public E pollLast(long timeout, TimeUnit unit) in pollLast() method in LinkedBlockingDeque
DConcurrentSkipListSet.java382 public E pollLast() { in pollLast() method in ConcurrentSkipListSet
DConcurrentLinkedDeque.java945 public E pollLast() { in pollLast() method in ConcurrentLinkedDeque
967 return screenNullResult(pollLast()); in removeLast()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DDeque.annotated.java57 @libcore.util.Nullable public E pollLast(); in pollLast() method
DArrayDeque.annotated.java62 @libcore.util.Nullable public E pollLast() { throw new RuntimeException("Stub!"); } in pollLast() method in ArrayDeque
DLinkedList.annotated.java95 @libcore.util.Nullable public E pollLast() { throw new RuntimeException("Stub!"); } in pollLast() method in LinkedList
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DLinkedBlockingDeque.java122 public E pollLast() { in pollLast() method in LinkedBlockingDeque
139 public E pollLast(long timeout, java.util.concurrent.TimeUnit unit) in pollLast() method in LinkedBlockingDeque
/libcore/ojluni/annotations/hiddenapi/java/util/
DArrayDeque.java91 public E pollLast() { in pollLast() method in ArrayDeque
DLinkedList.java209 public E pollLast() { in pollLast() method in LinkedList

12