Home | History | Annotate | Download | only in jsr166

Lines Matching defs:offerFirst

99      * offerFirst(null) throws NullPointerException
104 q.offerFirst(null);
121 * OfferFirst succeeds
125 assertTrue(q.offerFirst(new Integer(0)));
126 assertTrue(q.offerFirst(new Integer(1)));
873 * timed offerFirst times out if full and elements not taken
883 assertFalse(q.offerFirst(new Object(), timeoutMillis(), MILLISECONDS));
887 q.offerFirst(new Object(), 2 * LONG_DELAY_MS, MILLISECONDS);
1087 * timed pollFirst before a delayed offerFirst fails; after offerFirst succeeds;
1119 assertTrue(q.offerFirst(zero, LONG_DELAY_MS, MILLISECONDS));