java.io.Serializable
, java.lang.Iterable<K>
, java.util.Collection<K>
, java.util.concurrent.BlockingQueue<K>
, java.util.Queue<K>
public class UniqueEntryBlockingQueue<K>
extends java.util.concurrent.ArrayBlockingQueue<K>
Constructor | Description |
---|---|
UniqueEntryBlockingQueue(int capacity) |
|
UniqueEntryBlockingQueue(int capacity,
boolean fair) |
|
UniqueEntryBlockingQueue(int capacity,
boolean fair,
java.util.Collection<? extends K> c) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
add(K e) |
|
boolean |
addAll(java.util.Collection<? extends K> c) |
|
boolean |
offer(K e) |
|
boolean |
offer(K e,
long timeout,
java.util.concurrent.TimeUnit unit) |
|
void |
put(K e) |
clear, contains, drainTo, drainTo, forEach, iterator, peek, poll, poll, remainingCapacity, remove, removeAll, removeIf, retainAll, size, spliterator, take, toArray, toArray, toString
containsAll, equals, hashCode, isEmpty, parallelStream, stream
public UniqueEntryBlockingQueue(int capacity)
public UniqueEntryBlockingQueue(int capacity, boolean fair)
public UniqueEntryBlockingQueue(int capacity, boolean fair, java.util.Collection<? extends K> c)