/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 | 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()
|
D | Collection8Test.java | 174 assertNull(d.peekLast());
|
/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 | 338 assertEquals(testObjThree, testQue.peekLast()); in test_peekLast() 341 assertEquals(testObjTwo, testQue.peekLast()); in test_peekLast() 345 assertNull(testQue.peekLast()); in test_peekLast() 361 assertEquals(testObjOne, testQue.peekLast()); in test_removeFirstOccurrence() 365 assertEquals(testObjOne, testQue.peekLast()); in test_removeFirstOccurrence() 368 assertEquals(testObjThree, testQue.peekLast()); in test_removeFirstOccurrence() 385 assertEquals(testObjThree, testQue.peekLast()); in test_removeLastOccurrence() 390 assertEquals(testObjThree, testQue.peekLast()); in test_removeLastOccurrence() 393 assertEquals(testObjThree, testQue.peekLast()); in test_removeLastOccurrence() 406 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 | Deque.java | 341 E peekLast(); in peekLast() method
|
D | ArrayDeque.java | 338 public E peekLast() { in peekLast() method in ArrayDeque
|
D | LinkedList.java | 745 public E peekLast() { 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/main/java/java/util/concurrent/ |
D | LinkedBlockingDeque.java | 561 E x = peekLast(); in getLast() 576 public E peekLast() { in peekLast() method in LinkedBlockingDeque
|
D | ConcurrentLinkedDeque.java | 911 public E peekLast() { in peekLast() method in ConcurrentLinkedDeque 931 return screenNullResult(peekLast()); in getLast()
|