Statements (42)
Predicate | Object |
---|---|
gptkbp:instanceOf |
gptkb:class
|
gptkbp:blocksOnEmpty |
take()
|
gptkbp:blocksOnFull |
put()
|
gptkbp:builtBy |
fairness
capacity |
gptkbp:cannotGrow |
capacity is fixed
|
gptkbp:category |
gptkb:library
queue concurrent data structure |
gptkbp:documentation |
https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ArrayBlockingQueue.html
|
gptkbp:extendsTo |
gptkb:AbstractQueue_class
|
gptkbp:fairnessOption |
false for non-FIFO thread access order
true for FIFO thread access order |
gptkbp:heldBy |
thread-safe
FIFO queue bounded queue |
https://www.w3.org/2000/01/rdf-schema#label |
ArrayBlockingQueue class
|
gptkbp:implementedIn |
gptkb:BlockingQueue_interface
gptkb:Serializable_interface Iterable interface |
gptkbp:introducedIn |
gptkb:Java_5
|
gptkbp:method |
clear()
size() contains(Object o) iterator() drainTo(Collection<? super E> c) offer(E e) peek() poll() put(E e) remainingCapacity() take() toArray() |
gptkbp:notAllow |
capacity change after construction
null elements |
gptkbp:partOf |
gptkb:java.util.concurrent_package
|
gptkbp:throws |
IllegalArgumentException on non-positive capacity
NullPointerException on null elements |
gptkbp:usedFor |
producer-consumer scenarios
|
gptkbp:uses |
array for storage
|
gptkbp:bfsParent |
gptkb:Java_Collections
|
gptkbp:bfsLayer |
7
|