/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | TreeSubSetTest.java | 139 q.pollFirst(); in testEmpty() 140 q.pollFirst(); in testEmpty() 151 q.pollFirst(); in testSize() 249 assertEquals(new Integer(i), q.pollFirst()); in testAddAll5() 258 assertEquals(i, q.pollFirst()); in testPoll() 260 assertNull(q.pollFirst()); in testPoll() 291 q.pollFirst(); in testContains() 339 p.pollFirst(); in testRetainAll() 353 Integer x = (Integer)(p.pollFirst()); in testRemoveAll() 438 assertSame(o[i], q.pollFirst()); in testToArray() [all …]
|
D | ConcurrentSkipListSubSetTest.java | 142 q.pollFirst(); in testEmpty() 143 q.pollFirst(); in testEmpty() 154 q.pollFirst(); in testSize() 252 assertEquals(new Integer(i), q.pollFirst()); in testAddAll5() 261 assertEquals(i, q.pollFirst()); in testPoll() 263 assertNull(q.pollFirst()); in testPoll() 294 q.pollFirst(); in testContains() 342 p.pollFirst(); in testRetainAll() 356 Integer x = (Integer)(p.pollFirst()); in testRemoveAll() 441 assertSame(o[i], q.pollFirst()); in testToArray() [all …]
|
D | ConcurrentSkipListSetTest.java | 145 assertEquals(ints[i], q.pollFirst()); in testConstructor6() 160 assertEquals(ints[i], q.pollFirst()); in testConstructor7() 172 q.pollFirst(); in testEmpty() 173 q.pollFirst(); in testEmpty() 184 q.pollFirst(); in testSize() 233 assertTrue(q.pollFirst().getClass() == Object.class); in testAddNonComparable() 234 assertNull(q.pollFirst()); in testAddNonComparable() 290 assertEquals(i, q.pollFirst()); in testAddAll5() 299 assertEquals(i, q.pollFirst()); in testPollFirst() 301 assertNull(q.pollFirst()); in testPollFirst() [all …]
|
D | TreeSetTest.java | 149 assertEquals(ints[i], q.pollFirst()); in testConstructor6() 164 assertEquals(ints[i], q.pollFirst()); in testConstructor7() 176 q.pollFirst(); in testEmpty() 177 q.pollFirst(); in testEmpty() 188 q.pollFirst(); in testSize() 287 assertEquals(new Integer(i), q.pollFirst()); in testAddAll5() 296 assertEquals(i, q.pollFirst()); in testPollFirst() 298 assertNull(q.pollFirst()); in testPollFirst() 309 assertNull(q.pollFirst()); in testPollLast() 340 q.pollFirst(); in testContains() [all …]
|
D | LinkedBlockingDequeTest.java | 178 assertEquals(i, q.pollFirst()); in testPollFirst() 180 assertNull(q.pollFirst()); in testPollFirst() 201 assertEquals(i, q.pollFirst()); in testPeekFirst() 215 assertEquals(i, q.pollFirst()); in testPeek() 243 assertEquals(i, q.pollFirst()); in testFirstElement() 1063 assertEquals(i, q.pollFirst(0, MILLISECONDS)); in testTimedPollFirst0() 1065 assertNull(q.pollFirst(0, MILLISECONDS)); in testTimedPollFirst0() 1075 assertEquals(i, q.pollFirst(LONG_DELAY_MS, MILLISECONDS)); in testTimedPollFirst() 1079 assertNull(q.pollFirst(timeoutMillis(), MILLISECONDS)); in testTimedPollFirst() 1095 assertEquals(i, q.pollFirst(LONG_DELAY_MS, MILLISECONDS)); in testInterruptedTimedPollFirst() [all …]
|
D | ArrayDequeTest.java | 162 assertEquals(ints[i], q.pollFirst()); in testConstructor6() 410 assertEquals(ints[i], q.pollFirst()); in testAddAll5() 419 assertEquals(i, q.pollFirst()); in testPollFirst() 421 assertNull(q.pollFirst()); in testPollFirst() 488 assertEquals(i, q.pollFirst()); in testPeekFirst() 545 assertEquals(i, q.pollFirst()); in testFirstElement() 654 assertEquals(i, q.pollFirst()); in testContains()
|
D | ConcurrentLinkedDequeTest.java | 401 assertEquals(i, q.pollFirst()); in testPollFirst() 403 assertNull(q.pollFirst()); in testPollFirst() 499 assertEquals(i, q.pollFirst()); in testPeekFirst() 527 assertEquals(i, q.pollFirst()); in testFirstElement()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | TreeSubSetTest.java | 116 q.pollFirst(); in testEmpty() 117 q.pollFirst(); in testEmpty() 128 q.pollFirst(); in testSize() 226 assertEquals(new Integer(i), q.pollFirst()); in testAddAll5() 235 assertEquals(i, q.pollFirst()); in testPoll() 237 assertNull(q.pollFirst()); in testPoll() 268 q.pollFirst(); in testContains() 316 p.pollFirst(); in testRetainAll() 330 Integer x = (Integer)(p.pollFirst()); in testRemoveAll() 415 assertSame(o[i], q.pollFirst()); in testToArray() [all …]
|
D | ConcurrentSkipListSubSetTest.java | 119 q.pollFirst(); in testEmpty() 120 q.pollFirst(); in testEmpty() 131 q.pollFirst(); in testSize() 229 assertEquals(new Integer(i), q.pollFirst()); in testAddAll5() 238 assertEquals(i, q.pollFirst()); in testPoll() 240 assertNull(q.pollFirst()); in testPoll() 271 q.pollFirst(); in testContains() 319 p.pollFirst(); in testRetainAll() 333 Integer x = (Integer)(p.pollFirst()); in testRemoveAll() 418 assertSame(o[i], q.pollFirst()); in testToArray() [all …]
|
D | TreeSetTest.java | 126 assertEquals(ints[i], q.pollFirst()); in testConstructor6() 141 assertEquals(ints[i], q.pollFirst()); in testConstructor7() 153 q.pollFirst(); in testEmpty() 154 q.pollFirst(); in testEmpty() 165 q.pollFirst(); in testSize() 264 assertEquals(new Integer(i), q.pollFirst()); in testAddAll5() 273 assertEquals(i, q.pollFirst()); in testPollFirst() 275 assertNull(q.pollFirst()); in testPollFirst() 286 assertNull(q.pollFirst()); in testPollLast() 317 q.pollFirst(); in testContains() [all …]
|
D | ConcurrentSkipListSetTest.java | 122 assertEquals(ints[i], q.pollFirst()); in testConstructor6() 137 assertEquals(ints[i], q.pollFirst()); in testConstructor7() 149 q.pollFirst(); in testEmpty() 150 q.pollFirst(); in testEmpty() 161 q.pollFirst(); in testSize() 260 assertEquals(i, q.pollFirst()); in testAddAll5() 269 assertEquals(i, q.pollFirst()); in testPollFirst() 271 assertNull(q.pollFirst()); in testPollFirst() 282 assertNull(q.pollFirst()); in testPollLast() 313 q.pollFirst(); in testContains() [all …]
|
D | LinkedBlockingDequeTest.java | 144 assertEquals(i, q.pollFirst()); in testPollFirst() 146 assertNull(q.pollFirst()); in testPollFirst() 167 assertEquals(i, q.pollFirst()); in testPeekFirst() 181 assertEquals(i, q.pollFirst()); in testPeek() 209 assertEquals(i, q.pollFirst()); in testFirstElement() 1029 assertEquals(i, q.pollFirst(0, MILLISECONDS)); in testTimedPollFirst0() 1031 assertNull(q.pollFirst(0, MILLISECONDS)); in testTimedPollFirst0() 1041 assertEquals(i, q.pollFirst(LONG_DELAY_MS, MILLISECONDS)); in testTimedPollFirst() 1045 assertNull(q.pollFirst(timeoutMillis(), MILLISECONDS)); in testTimedPollFirst() 1061 assertEquals(i, q.pollFirst(LONG_DELAY_MS, MILLISECONDS)); in testInterruptedTimedPollFirst() [all …]
|
D | ArrayDequeTest.java | 95 assertEquals(ints[i], q.pollFirst()); in testConstructor6() 343 assertEquals(ints[i], q.pollFirst()); in testAddAll5() 352 assertEquals(i, q.pollFirst()); in testPollFirst() 354 assertNull(q.pollFirst()); in testPollFirst() 421 assertEquals(i, q.pollFirst()); in testPeekFirst() 478 assertEquals(i, q.pollFirst()); in testFirstElement() 569 assertEquals(i, q.pollFirst()); in testContains()
|
D | ConcurrentLinkedDequeTest.java | 367 assertEquals(i, q.pollFirst()); in testPollFirst() 369 assertNull(q.pollFirst()); in testPollFirst() 465 assertEquals(i, q.pollFirst()); in testPeekFirst() 493 assertEquals(i, q.pollFirst()); in testFirstElement()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ArrayDequeTest.java | 242 assertEquals(testObjOne, testQue.pollFirst()); in test_pollFirst() 244 assertEquals(testObjTwo, testQue.pollFirst()); in test_pollFirst() 245 assertEquals(testObjThree, testQue.pollFirst()); in test_pollFirst() 247 assertNull(testQue.pollFirst()); in test_pollFirst() 263 assertNull(testQue.pollFirst()); in test_pollLast() 276 assertEquals(testObjOne, testQue.pollFirst()); in test_getFirst() 278 assertEquals(testObjTwo, testQue.pollFirst()); in test_getFirst() 279 assertEquals(testObjThree, testQue.pollFirst()); in test_getFirst() 322 assertEquals(testObjOne, testQue.pollFirst()); in test_peekFirst() 324 assertEquals(testObjTwo, testQue.pollFirst()); in test_peekFirst() [all …]
|
D | LinkedListTest.java | 885 assertEquals(testObjOne, testList.pollFirst()); in test_pollFirst() 887 assertEquals(testObjTwo, testList.pollFirst()); in test_pollFirst() 888 assertEquals(testObjThree, testList.pollFirst()); in test_pollFirst() 890 assertNull(testList.pollFirst()); in test_pollFirst() 906 assertNull(testList.pollFirst()); in test_pollLast() 919 assertEquals(testObjOne, testList.pollFirst()); in test_peekFirst() 921 assertEquals(testObjTwo, testList.pollFirst()); in test_peekFirst() 922 assertEquals(testObjThree, testList.pollFirst()); in test_peekFirst()
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | ConcurrentSkipListSetTest.java | 61 assertEquals(treeSet.pollFirst(), skipListSet.pollFirst()); in testConstructorFromSortedSet()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Deque.java | 296 E pollFirst(); in pollFirst() method
|
D | NavigableSet.java | 153 E pollFirst(); in pollFirst() method
|
D | ArrayDeque.java | 268 E x = pollFirst(); in removeFirst() 284 public E pollFirst() { in pollFirst() method in ArrayDeque 449 return pollFirst(); in poll()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | BlockingDeque.java | 380 E pollFirst(long timeout, TimeUnit unit) in pollFirst() method
|
D | LinkedBlockingDeque.java | 452 E x = pollFirst(); in removeFirst() 466 public E pollFirst() { in pollFirst() method in LinkedBlockingDeque 512 public E pollFirst(long timeout, TimeUnit unit) in pollFirst() method in LinkedBlockingDeque 676 return pollFirst(); in poll() 684 return pollFirst(timeout, unit); in poll()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Deque.annotated.java | 55 @libcore.util.Nullable public E pollFirst(); in pollFirst() method
|
D | ArrayDeque.annotated.java | 60 @libcore.util.Nullable public E pollFirst() { throw new RuntimeException("Stub!"); } in pollFirst() method in ArrayDeque
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | LinkedBlockingDeque.java | 118 public E pollFirst() { in pollFirst() method in LinkedBlockingDeque 134 public E pollFirst(long timeout, java.util.concurrent.TimeUnit unit) in pollFirst() method in LinkedBlockingDeque
|