Home
last modified time | relevance | path

Searched refs:offerFirst (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
DBlockingDeque.java223 boolean offerFirst(E e); in offerFirst() method
288 boolean offerFirst(E e, long timeout, TimeUnit unit) in offerFirst() method
DLinkedBlockingDeque.java293 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
DConcurrentLinkedDeque.java885 public boolean offerFirst(E e) { in offerFirst() method in ConcurrentLinkedDeque
/libcore/luni/src/main/java/java/util/
DDeque.java220 boolean offerFirst(E e); in offerFirst() method
DArrayDeque.java225 public boolean offerFirst(E e) { in offerFirst() method in ArrayDeque
DLinkedList.java732 public boolean offerFirst(E e) { in offerFirst() method in LinkedList
DCollections.java2753 return q.offerFirst(o);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLinkedListTest.java753 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()
DArrayDequeTest.java147 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/
DLinkedBlockingDequeTest.java77 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()
DConcurrentLinkedDequeTest.java171 q.offerFirst(null); in testOfferFirstNull()
203 assertTrue(q.offerFirst(zero)); in testOfferFirst()
204 assertTrue(q.offerFirst(one)); in testOfferFirst()
DArrayDequeTest.java169 q.offerFirst(null); in testOfferFirstNull()
201 assertTrue(q.offerFirst(zero)); in testOfferFirst()
202 assertTrue(q.offerFirst(one)); in testOfferFirst()
DLinkedListTest.java517 assertTrue(q.offerFirst(new Integer(0))); in testOfferFirst()
518 assertTrue(q.offerFirst(new Integer(1))); in testOfferFirst()