Searched refs:offerFirst (Results 1 – 13 of 13) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
D | BlockingDeque.java | 223 boolean offerFirst(E e); in offerFirst() method 288 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() method
|
D | LinkedBlockingDeque.java | 293 if (!offerFirst(e)) in addFirst() 309 public boolean offerFirst(E e) { in offerFirst() method in LinkedBlockingDeque 374 public boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() method in LinkedBlockingDeque
|
D | ConcurrentLinkedDeque.java | 885 public boolean offerFirst(E e) { in offerFirst() method in ConcurrentLinkedDeque
|
/libcore/luni/src/main/java/java/util/ |
D | Deque.java | 220 boolean offerFirst(E e); in offerFirst() method
|
D | ArrayDeque.java | 225 public boolean offerFirst(E e) { in offerFirst() method in ArrayDeque
|
D | LinkedList.java | 732 public boolean offerFirst(E e) { in offerFirst() method in LinkedList
|
D | Collections.java | 2753 return q.offerFirst(o);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LinkedListTest.java | 753 assertTrue(testList.offerFirst(testObjOne)); in test_offerFirst() 756 assertTrue(testList.offerFirst(testObjOne)); in test_offerFirst() 759 assertTrue(testList.offerFirst(testObjTwo)); in test_offerFirst() 763 assertTrue(testList.offerFirst(null)); in test_offerFirst()
|
D | ArrayDequeTest.java | 147 assertTrue(testQue.offerFirst(testObjOne)); in test_offerFirst() 150 assertTrue(testQue.offerFirst(testObjOne)); in test_offerFirst() 153 assertTrue(testQue.offerFirst(testObjTwo)); in test_offerFirst() 158 testQue.offerFirst(null); in test_offerFirst()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | LinkedBlockingDequeTest.java | 77 q.offerFirst(null); in testOfferFirstNull() 98 assertTrue(q.offerFirst(new Integer(0))); in testOfferFirst() 99 assertTrue(q.offerFirst(new Integer(1))); in testOfferFirst() 858 assertFalse(q.offerFirst(new Object(), timeoutMillis(), MILLISECONDS)); in testTimedOfferFirst() 862 q.offerFirst(new Object(), 2 * LONG_DELAY_MS, MILLISECONDS); in testTimedOfferFirst() 1092 assertTrue(q.offerFirst(zero, LONG_DELAY_MS, MILLISECONDS)); in testTimedPollFirstWithOfferFirst()
|
D | ConcurrentLinkedDequeTest.java | 171 q.offerFirst(null); in testOfferFirstNull() 203 assertTrue(q.offerFirst(zero)); in testOfferFirst() 204 assertTrue(q.offerFirst(one)); in testOfferFirst()
|
D | ArrayDequeTest.java | 169 q.offerFirst(null); in testOfferFirstNull() 201 assertTrue(q.offerFirst(zero)); in testOfferFirst() 202 assertTrue(q.offerFirst(one)); in testOfferFirst()
|
D | LinkedListTest.java | 517 assertTrue(q.offerFirst(new Integer(0))); in testOfferFirst() 518 assertTrue(q.offerFirst(new Integer(1))); in testOfferFirst()
|