Searched refs:offerFirst (Results 1 – 14 of 14) sorted by relevance
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | BlockingDeque.java | 259 boolean offerFirst(E e); in offerFirst() method 324 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() method
|
D | LinkedBlockingDeque.java | 325 if (!offerFirst(e)) in addFirst() 341 public boolean offerFirst(E e) { in offerFirst() method in LinkedBlockingDeque 406 public boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() method in LinkedBlockingDeque
|
D | ConcurrentLinkedDeque.java | 883 public boolean offerFirst(E e) { in offerFirst() method in ConcurrentLinkedDeque
|
/libcore/ojluni/src/main/java/java/util/ |
D | Deque.java | 249 boolean offerFirst(E e); in offerFirst() method
|
D | ArrayDeque.java | 241 public boolean offerFirst(E e) { in offerFirst() method in ArrayDeque
|
D | LinkedList.java | 707 public boolean offerFirst(E e) { in offerFirst() method in LinkedList
|
D | Collections.java | 5577 public boolean offer(E e) { return q.offerFirst(e); }
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | Util.java | 116 boolean offerFirst(ByteBuffer buf) { in offerFirst() method in Util.BufferCache 187 if (!cache.offerFirst(buf)) { in offerFirstTemporaryDirectBuffer()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LinkedListTest.java | 758 assertTrue(testList.offerFirst(testObjOne)); in test_offerFirst() 761 assertTrue(testList.offerFirst(testObjOne)); in test_offerFirst() 764 assertTrue(testList.offerFirst(testObjTwo)); in test_offerFirst() 768 assertTrue(testList.offerFirst(null)); in test_offerFirst()
|
D | ArrayDequeTest.java | 152 assertTrue(testQue.offerFirst(testObjOne)); in test_offerFirst() 155 assertTrue(testQue.offerFirst(testObjOne)); in test_offerFirst() 158 assertTrue(testQue.offerFirst(testObjTwo)); in test_offerFirst() 163 testQue.offerFirst(null); in test_offerFirst()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ConcurrentLinkedDequeTest.java | 183 q.offerFirst(null); in testOfferFirstNull() 215 assertTrue(q.offerFirst(zero)); in testOfferFirst() 216 assertTrue(q.offerFirst(one)); in testOfferFirst()
|
D | LinkedBlockingDequeTest.java | 104 q.offerFirst(null); in testOfferFirstNull() 125 assertTrue(q.offerFirst(new Integer(0))); in testOfferFirst() 126 assertTrue(q.offerFirst(new Integer(1))); in testOfferFirst() 883 assertFalse(q.offerFirst(new Object(), timeoutMillis(), MILLISECONDS)); in testTimedOfferFirst() 887 q.offerFirst(new Object(), 2 * LONG_DELAY_MS, MILLISECONDS); in testTimedOfferFirst() 1119 assertTrue(q.offerFirst(zero, LONG_DELAY_MS, MILLISECONDS)); in testTimedPollFirstWithOfferFirst()
|
D | ArrayDequeTest.java | 179 q.offerFirst(null); in testOfferFirstNull() 211 assertTrue(q.offerFirst(zero)); in testOfferFirst() 212 assertTrue(q.offerFirst(one)); in testOfferFirst()
|
D | LinkedListTest.java | 536 assertTrue(q.offerFirst(new Integer(0))); in testOfferFirst() 537 assertTrue(q.offerFirst(new Integer(1))); in testOfferFirst()
|