/libcore/luni/src/main/java/java/util/ |
H A D | Queue.java | 35 * <td>{@link #offer offer(e)}</td> 61 * <p>The {@link #offer offer} method inserts an element if possible, 65 * <tt>offer</tt> method is designed for use when failure is a normal, 151 boolean offer(E e); method in interface:Queue
|
H A D | Deque.java | 88 * <td>{@link java.util.Queue#offer offer(e)}</td> 358 * use {@link #offer(Object) offer}. 396 boolean offer(E e); method in interface:Deque
|
H A D | ArrayDeque.java | 394 * @return <tt>true</tt> (as specified by {@link Queue#offer}) 397 public boolean offer(E e) { method in class:ArrayDeque
|
H A D | PriorityQueue.java | 187 public boolean offer(E o) { method in class:PriorityQueue 270 return offer(o);
|
H A D | LinkedList.java | 890 public boolean offer(E o) { method in class:LinkedList
|
H A D | Collections.java | 2774 @Override public boolean offer(E o) { method in class:Collections.AsLIFOQueue
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | BlockingQueue.java | 44 * <td>{@link #offer offer(e)}</td> 46 * <td>{@link #offer(Object, long, TimeUnit) offer(e, time, unit)}</td> 66 * to {@code add}, {@code put} or {@code offer} a {@code null}. A 159 * use {@link #offer(Object) offer}. 190 boolean offer(E e); method in interface:BlockingQueue 224 boolean offer(E e, long timeout, TimeUnit unit) method in interface:BlockingQueue
|
H A D | BlockingDeque.java | 116 * <td>{@link #offer(Object) offer(e)}</td> 124 * <td>{@link #offer(Object, long, TimeUnit) offer(e, time, unit)}</td> 411 * use {@link #offer(Object) offer}. 443 boolean offer(E e); method in interface:BlockingDeque 480 boolean offer(E e, long timeout, TimeUnit unit) method in interface:BlockingDeque
|
H A D | DelayQueue.java | 98 return offer(e); 108 public boolean offer(E e) { method in class:DelayQueue 112 q.offer(e); 131 offer(e); 144 public boolean offer(E e, long timeout, TimeUnit unit) { method in class:DelayQueue 145 return offer(e);
|
H A D | ConcurrentLinkedQueue.java | 265 return offer(e); 291 * @return {@code true} (as specified by {@link Queue#offer}) 294 public boolean offer(E e) { method in class:ConcurrentLinkedQueue
|
H A D | LinkedBlockingQueue.java | 54 * entry to put (and offer), and has an associated condition for 128 /** Lock held by put, offer, etc */ 135 * Signals a waiting take. Called only from put/offer (which do not 340 public boolean offer(E e, long timeout, TimeUnit unit) method in class:LinkedBlockingQueue 378 public boolean offer(E e) { method in class:LinkedBlockingQueue
|
H A D | PriorityBlockingQueue.java | 424 return offer(e); 432 * @return {@code true} (as specified by {@link Queue#offer}) 438 public boolean offer(E e) { method in class:PriorityBlockingQueue 472 offer(e); // never need to block 484 * {@link BlockingQueue#offer(Object,long,TimeUnit) BlockingQueue.offer}) 490 public boolean offer(E e, long timeout, TimeUnit unit) { method in class:PriorityBlockingQueue 491 return offer(e); // never need to block
|
H A D | LinkedBlockingDeque.java | 593 * it is generally preferable to use method {@link #offer(Object) offer}. 609 public boolean offer(E e) { method in class:LinkedBlockingDeque 625 public boolean offer(E e, long timeout, TimeUnit unit) method in class:LinkedBlockingDeque
|
H A D | ArrayBlockingQueue.java | 70 /** items index for next put, offer, or add */ 278 public boolean offer(E e) { method in class:ArrayBlockingQueue 322 public boolean offer(E e, long timeout, TimeUnit unit) method in class:ArrayBlockingQueue
|
H A D | ConcurrentLinkedDeque.java | 978 * @return {@code true} (as specified by {@link Queue#offer}) 981 public boolean offer(E e) { method in class:ConcurrentLinkedDeque
|
H A D | LinkedTransferQueue.java | 245 * of offer, put, poll, take, or transfer (each possibly with 269 * poll/offer, (argument "how" is NOW) return. 554 private static final int ASYNC = 1; // for offer, put, add 1016 * {@link java.util.concurrent.BlockingQueue#offer(Object,long,TimeUnit) 1017 * BlockingQueue.offer}) 1020 public boolean offer(E e, long timeout, TimeUnit unit) { method in class:LinkedTransferQueue 1029 * @return {@code true} (as specified by {@link Queue#offer}) 1032 public boolean offer(E e) { method in class:LinkedTransferQueue 1292 offer(item);
|
H A D | ScheduledThreadPoolExecutor.java | 1002 public boolean offer(Runnable x) { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue 1030 offer(e); 1034 return offer(e); 1037 public boolean offer(Runnable e, long timeout, TimeUnit unit) { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue 1038 return offer(e);
|
H A D | SynchronousQueue.java | 402 * SynchronousQueue.{poll/offer} don't check interrupts 862 public boolean offer(E e, long timeout, TimeUnit unit) method in class:SynchronousQueue 881 public boolean offer(E e) { method in class:SynchronousQueue
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | AbstractQueueTest.java | 31 public boolean offer(Integer x) { method in class:AbstractQueueTest.Succeed 42 public boolean offer(Integer x) { method in class:AbstractQueueTest.Fail 53 * add returns true if offer succeeds 61 * add throws ISE true if offer fails 72 * add throws NPE if offer does
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | AbstractQueueTest.java | 74 public boolean offer(E o) { method in class:AbstractQueueTest.MockAbstractQueue
|