public class EvictingQueue<T> extends LinkedBlockingQueue<T>
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DEFAULT_CAPACITY |
| 构造器和说明 |
|---|
EvictingQueue() |
EvictingQueue(int capacity) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(T t) |
boolean |
addAll(Collection<? extends T> c) |
boolean |
offer(T t) |
boolean |
offer(T t,
long timeout,
TimeUnit unit) |
boolean |
offer(T t,
long timeout,
TimeUnit unit,
boolean quietly) |
void |
put(T t) |
clear, contains, drainTo, drainTo, iterator, peek, poll, poll, remainingCapacity, remove, size, spliterator, take, toArray, toArray, toStringelement, removecontainsAll, isEmpty, removeAll, retainAllclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, isEmpty, parallelStream, removeAll, removeIf, retainAll, streampublic static final int DEFAULT_CAPACITY
public boolean add(T t)
add 在接口中 Collection<T>add 在接口中 BlockingQueue<T>add 在接口中 Queue<T>add 在类中 AbstractQueue<T>public boolean addAll(Collection<? extends T> c)
addAll 在接口中 Collection<T>addAll 在类中 AbstractQueue<T>public boolean offer(T t)
offer 在接口中 BlockingQueue<T>offer 在接口中 Queue<T>offer 在类中 LinkedBlockingQueue<T>public boolean offer(T t, long timeout, TimeUnit unit)
offer 在接口中 BlockingQueue<T>offer 在类中 LinkedBlockingQueue<T>public void put(T t)
put 在接口中 BlockingQueue<T>put 在类中 LinkedBlockingQueue<T>Copyright © 2011-2021–2021 ShaneKingOrg. All rights reserved.