/libcore/ojluni/src/main/java/java/util/ |
H A D | Queue.java | 64 * <td>{@link Queue#offer offer(e)}</td> 90 * <p>The {@link #offer offer} method inserts an element if possible, 94 * {@code offer} method is designed for use when failure is a normal, 172 boolean offer(E e); method in interface:Queue
|
H A D | Deque.java | 114 * <td>{@link java.util.Queue#offer offer(e)}</td> 389 * use {@link #offer(Object) offer}. 427 boolean offer(E e); method in interface:Deque
|
H A D | ArrayDeque.java | 410 * @return {@code true} (as specified by {@link Queue#offer}) 413 public boolean offer(E e) { method in class:ArrayDeque
|
H A D | PriorityQueue.java | 69 * ({@code offer}, {@code poll}, {@code remove()} and {@code add}); 321 return offer(e); 327 * @return {@code true} (as specified by {@link Queue#offer}) 333 public boolean offer(E e) { method in class:PriorityQueue
|
H A D | LinkedList.java | 692 * @return {@code true} (as specified by {@link Queue#offer}) 695 public boolean offer(E e) { method in class:LinkedList
|
H A D | Collections.java | 3232 public boolean offer(E e) {return queue.offer(typeCheck(e));} method in class:Collections.CheckedQueue 5579 public boolean offer(E e) { return q.offerFirst(e); } method in class:Collections.AsLIFOQueue
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
H A D | BlockingQueue.java | 73 * <td>{@link #offer offer(e)}</td> 75 * <td>{@link #offer(Object, long, TimeUnit) offer(e, time, unit)}</td> 95 * to {@code add}, {@code put} or {@code offer} a {@code null}. A 188 * use {@link #offer(Object) offer}. 219 boolean offer(E e); method in interface:BlockingQueue 253 boolean offer(E e, long timeout, TimeUnit unit) method in interface:BlockingQueue
|
H A D | BlockingDeque.java | 149 * <td>{@link #offer(Object) offer(e)}</td> 157 * <td>{@link #offer(Object, long, TimeUnit) offer(e, time, unit)}</td> 444 * use {@link #offer(Object) offer}. 476 boolean offer(E e); method in interface:BlockingDeque 513 boolean offer(E e, long timeout, TimeUnit unit) method in interface:BlockingDeque
|
H A D | DelayQueue.java | 132 return offer(e); 142 public boolean offer(E e) { method in class:DelayQueue 146 q.offer(e); 165 offer(e); 178 public boolean offer(E e, long timeout, TimeUnit unit) { method in class:DelayQueue 179 return offer(e);
|
H A D | ConcurrentLinkedQueue.java | 280 return offer(e); 307 * @return {@code true} (as specified by {@link Queue#offer}) 310 public boolean offer(E e) { method in class:ConcurrentLinkedQueue
|
H A D | LinkedBlockingQueue.java | 86 * entry to put (and offer), and has an associated condition for 160 /** Lock held by put, offer, etc */ 167 * Signals a waiting take. Called only from put/offer (which do not 372 public boolean offer(E e, long timeout, TimeUnit unit) method in class:LinkedBlockingQueue 410 public boolean offer(E e) { method in class:LinkedBlockingQueue
|
H A D | PriorityBlockingQueue.java | 462 return offer(e); 470 * @return {@code true} (as specified by {@link Queue#offer}) 476 public boolean offer(E e) { method in class:PriorityBlockingQueue 510 offer(e); // never need to block 522 * {@link BlockingQueue#offer(Object,long,TimeUnit) BlockingQueue.offer}) 528 public boolean offer(E e, long timeout, TimeUnit unit) { method in class:PriorityBlockingQueue 529 return offer(e); // never need to block
|
H A D | ArrayBlockingQueue.java | 102 /** items index for next put, offer, or add */ 308 public boolean offer(E e) { method in class:ArrayBlockingQueue 352 public boolean offer(E e, long timeout, TimeUnit unit) method in class:ArrayBlockingQueue
|
H A D | ConcurrentLinkedDeque.java | 976 * @return {@code true} (as specified by {@link Queue#offer}) 979 public boolean offer(E e) { method in class:ConcurrentLinkedDeque
|
H A D | LinkedBlockingDeque.java | 625 * it is generally preferable to use method {@link #offer(Object) offer}. 640 public boolean offer(E e) { method in class:LinkedBlockingDeque 656 public boolean offer(E e, long timeout, TimeUnit unit) method in class:LinkedBlockingDeque
|
H A D | LinkedTransferQueue.java | 278 * of offer, put, poll, take, or transfer (each possibly with 302 * poll/offer, (argument "how" is NOW) return. 585 private static final int ASYNC = 1; // for offer, put, add 1258 * {@link java.util.concurrent.BlockingQueue#offer(Object,long,TimeUnit) 1259 * BlockingQueue.offer}) 1262 public boolean offer(E e, long timeout, TimeUnit unit) { method in class:LinkedTransferQueue 1271 * @return {@code true} (as specified by {@link Queue#offer}) 1274 public boolean offer(E e) { method in class:LinkedTransferQueue 1561 offer(item);
|
H A D | ScheduledThreadPoolExecutor.java | 1045 public boolean offer(Runnable x) { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue 1073 offer(e); 1077 return offer(e); 1080 public boolean offer(Runnable e, long timeout, TimeUnit unit) { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue 1081 return offer(e);
|
H A D | SynchronousQueue.java | 432 * SynchronousQueue.{poll/offer} don't check interrupts 888 public boolean offer(E e, long timeout, TimeUnit unit) method in class:SynchronousQueue 907 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
|