/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ConcurrentLinkedDequeTest.java | 79 assertEquals((Integer) (n - 1), q.peekLast()); in populatedDeque() 241 assertSame(one, q.peekLast()); in testOffer() 252 assertSame(zero, q.peekLast()); in testOfferFirst() 263 assertSame(one, q.peekLast()); in testOfferLast() 307 assertSame(one, q.peekLast()); in testAdd() 318 assertSame(zero, q.peekLast()); in testAddFirst() 329 assertSame(one, q.peekLast()); in testAddLast() 512 assertEquals(i, q.peekLast()); in testPeekLast() 514 assertTrue(q.peekLast() == null || in testPeekLast() 515 !q.peekLast().equals(i)); in testPeekLast() [all …]
|
D | ArrayDequeTest.java | 108 assertEquals((Integer) (n - 1), q.peekLast()); in populatedDeque() 270 assertSame(one, q.peekLast()); in testOffer() 281 assertSame(zero, q.peekLast()); in testOfferFirst() 292 assertSame(one, q.peekLast()); in testOfferLast() 336 assertSame(one, q.peekLast()); in testAdd() 347 assertSame(zero, q.peekLast()); in testAddFirst() 358 assertSame(one, q.peekLast()); in testAddLast() 515 assertEquals(i, q.peekLast()); in testPeekLast() 517 assertTrue(q.peekLast() == null || in testPeekLast() 518 !q.peekLast().equals(i)); in testPeekLast() [all …]
|
D | ArrayDeque8Test.java | 107 assertEquals(e, q.peekLast()); in testHugeCapacity() 112 assertEquals((Integer) 1, q.peekLast()); in testHugeCapacity()
|
D | LinkedListTest.java | 82 assertEquals((Integer) (n - 1), q.peekLast()); in populatedQueue() 621 assertEquals(i, q.peekLast()); in testPeekLast() 623 assertTrue(q.peekLast() == null || in testPeekLast() 624 !q.peekLast().equals(i)); in testPeekLast() 626 assertNull(q.peekLast()); in testPeekLast() 654 assertNull(q.peekLast()); in testLastElement()
|
D | LinkedBlockingDequeTest.java | 99 assertEquals((Integer) (n - 1), q.peekLast()); in populatedDeque() 228 assertEquals(i, q.peekLast()); in testPeekLast() 230 assertTrue(q.peekLast() == null || in testPeekLast() 231 !q.peekLast().equals(i)); in testPeekLast() 233 assertNull(q.peekLast()); in testPeekLast() 265 assertNull(q.peekLast()); in testLastElement() 295 assertNull(q.peekLast()); in testRemoveLast() 359 assertSame(four, q.peekLast()); in testAddLast()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentLinkedDequeTest.java | 207 assertSame(one, q.peekLast()); in testOffer() 218 assertSame(zero, q.peekLast()); in testOfferFirst() 229 assertSame(one, q.peekLast()); in testOfferLast() 273 assertSame(one, q.peekLast()); in testAdd() 284 assertSame(zero, q.peekLast()); in testAddFirst() 295 assertSame(one, q.peekLast()); in testAddLast() 478 assertEquals(i, q.peekLast()); in testPeekLast() 480 assertTrue(q.peekLast() == null || in testPeekLast() 481 !q.peekLast().equals(i)); in testPeekLast() 483 assertNull(q.peekLast()); in testPeekLast() [all …]
|
D | ArrayDequeTest.java | 203 assertSame(one, q.peekLast()); in testOffer() 214 assertSame(zero, q.peekLast()); in testOfferFirst() 225 assertSame(one, q.peekLast()); in testOfferLast() 269 assertSame(one, q.peekLast()); in testAdd() 280 assertSame(zero, q.peekLast()); in testAddFirst() 291 assertSame(one, q.peekLast()); in testAddLast() 448 assertEquals(i, q.peekLast()); in testPeekLast() 450 assertTrue(q.peekLast() == null || in testPeekLast() 451 !q.peekLast().equals(i)); in testPeekLast() 453 assertNull(q.peekLast()); in testPeekLast() [all …]
|
D | LinkedListTest.java | 580 assertEquals(i, q.peekLast()); in testPeekLast() 582 assertTrue(q.peekLast() == null || in testPeekLast() 583 !q.peekLast().equals(i)); in testPeekLast() 585 assertNull(q.peekLast()); in testPeekLast() 613 assertNull(q.peekLast()); in testLastElement()
|
D | LinkedBlockingDequeTest.java | 194 assertEquals(i, q.peekLast()); in testPeekLast() 196 assertTrue(q.peekLast() == null || in testPeekLast() 197 !q.peekLast().equals(i)); in testPeekLast() 199 assertNull(q.peekLast()); in testPeekLast() 231 assertNull(q.peekLast()); in testLastElement() 261 assertNull(q.peekLast()); in testRemoveLast() 325 assertSame(four, q.peekLast()); in testAddLast()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArrayDequeTest.java | 341 assertEquals(testObjThree, testQue.peekLast()); in test_peekLast() 344 assertEquals(testObjTwo, testQue.peekLast()); in test_peekLast() 348 assertNull(testQue.peekLast()); in test_peekLast() 364 assertEquals(testObjOne, testQue.peekLast()); in test_removeFirstOccurrence() 368 assertEquals(testObjOne, testQue.peekLast()); in test_removeFirstOccurrence() 371 assertEquals(testObjThree, testQue.peekLast()); in test_removeFirstOccurrence() 388 assertEquals(testObjThree, testQue.peekLast()); in test_removeLastOccurrence() 393 assertEquals(testObjThree, testQue.peekLast()); in test_removeLastOccurrence() 396 assertEquals(testObjThree, testQue.peekLast()); in test_removeLastOccurrence() 409 assertEquals(testObjThree, testQue.peekLast()); in test_add() [all …]
|
D | LinkedListTest.java | 718 assertEquals(testObjOne, testList.peekLast()); in test_removeFirstOccurrence() 722 assertEquals(testObjOne, testList.peekLast()); in test_removeFirstOccurrence() 725 assertEquals(testObjThree, testList.peekLast()); in test_removeFirstOccurrence() 742 assertEquals(testObjThree, testList.peekLast()); in test_removeLastOccurrence() 747 assertEquals(testObjThree, testList.peekLast()); in test_removeLastOccurrence() 750 assertEquals(testObjThree, testList.peekLast()); in test_removeLastOccurrence() 935 assertEquals(testObjThree, testList.peekLast()); in test_peekLast() 938 assertEquals(testObjTwo, testList.peekLast()); in test_peekLast() 942 assertNull(testList.peekLast()); in test_peekLast()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ReverseOrderDequeView.java | 229 return base.peekLast(); in peek() 233 return base.peekLast(); in peekFirst() 236 public E peekLast() { in peekLast() method in ReverseOrderDequeView
|
D | Deque.java | 351 E peekLast(); in peekLast() method
|
D | LinkedList.java | 756 public E peekLast() { in peekLast() method in LinkedList 1419 public E peekLast() { in peekLast() method in LinkedList.ReverseOrderLinkedListView 1420 return rdeque.peekLast(); in peekLast()
|
/libcore/ojluni/src/test/java/util/SequencedCollection/ |
D | SimpleDeque.java | 159 public E peekLast() { in peekLast() method in SimpleDeque 160 return deque.peekLast(); in peekLast()
|
/libcore/ojluni/annotations/flagged_api/java/util/ |
D | Deque.annotated.java | 64 public E peekLast(); in peekLast() method
|
D | LinkedList.annotated.java | 90 public E peekLast() { throw new RuntimeException("Stub!"); } in peekLast() method in LinkedList
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Deque.annotated.java | 65 @libcore.util.Nullable public E peekLast(); in peekLast() method
|
D | ArrayDeque.annotated.java | 70 @libcore.util.Nullable public E peekLast() { throw new RuntimeException("Stub!"); } in peekLast() method in ArrayDeque
|
D | LinkedList.annotated.java | 91 @libcore.util.Nullable public E peekLast() { throw new RuntimeException("Stub!"); } in peekLast() method in LinkedList
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | ArrayDeque.java | 107 public E peekLast() { in peekLast() method in ArrayDeque
|
D | LinkedList.java | 201 public E peekLast() { in peekLast() method in LinkedList
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | LinkedBlockingDeque.java | 156 public E peekLast() { in peekLast() method in LinkedBlockingDeque
|
/libcore/ojluni/src/test/java/util/Collection/ |
D | MOAT.java | 906 check(deq.peekLast() == null); in testQueueAddRemove() 909 check(deq.peekLast() != e); in testQueueAddRemove() 921 check(deq.peekLast() == e); in testQueueAddRemove() 949 check(deq.peekLast() == null); in testQueueAddRemove() 952 check(deq.peekLast() != e); in testQueueAddRemove() 1000 check(deq.peekLast() == null); in testQueueAddRemove()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | LinkedBlockingDeque.java | 554 E x = peekLast(); in getLast() 569 public E peekLast() { in peekLast() method in LinkedBlockingDeque
|