java.util.concurrent.PriorityBlockingQueue
GPTKB entity
Statements (43)
Predicate | Object |
---|---|
gptkbp:instanceOf |
Collection
PriorityQueue brand |
gptkbp:allows |
false
|
gptkbp:broadcasts |
wakes up a single thread that is waiting on this object's monitor
|
gptkbp:built |
PriorityBlockingQueue(Collection<? extends E> c)
PriorityBlockingQueue(int initialCapacity) PriorityBlockingQueue(int initialCapacity, Comparator<? super E> comparator) PriorityBlockingQueue() |
gptkbp:capacity |
Integer.MAX_VALUE
|
gptkbp:contains |
checks if the queue contains a specific element
|
gptkbp:disassembly |
removes a specific element from the queue
returns true if the element was removed |
gptkbp:divisions |
creates a spliterator for the elements in the queue
|
gptkbp:focus |
Comparator or null
|
gptkbp:foragingBehavior |
blocks on insertion and removal when necessary
|
gptkbp:hasCapacity |
returns the number of additional elements that the queue can ideally accept without blocking
|
gptkbp:hasHistory |
returns the hash code value for the queue
|
gptkbp:hasLegalEvent |
wakes up all threads that are waiting on this object's monitor
|
https://www.w3.org/2000/01/rdf-schema#label |
java.util.concurrent.PriorityBlockingQueue
|
gptkbp:isChallengedBy |
true or false
|
gptkbp:isLocatedIn |
true or false
|
gptkbp:isThreatenedBy |
true
|
gptkbp:led_to |
returns a string representation of the queue
|
gptkbp:name |
may block the current thread
|
gptkbp:offers |
adds an element to the queue
returns true if the element was added |
gptkbp:operator |
returns an iterator over the elements in the queue
|
gptkbp:overlooks |
returns null if the queue is empty
retrieves but does not remove the head of the queue |
gptkbp:priorityDate |
elements are ordered according to their natural ordering or by a specified comparator
|
gptkbp:reach |
returns an array containing all elements in the queue
|
gptkbp:remake |
creates a shallow copy of the queue
|
gptkbp:represents |
compares the queue with another object
|
gptkbp:setIn |
inserts an element, waiting if necessary for space to become available
|
gptkbp:size |
number of elements in the queue
|
gptkbp:streamingPlatforms |
returns a parallel Stream with the elements in the queue
returns a sequential Stream with the elements in the queue |
gptkbp:takesPlaceIn |
retrieves and removes the head of the queue, waiting if necessary
|
gptkbp:visibility |
removes all elements from the queue
|
gptkbp:wasA |
true or false
|
gptkbp:winner |
returns null if the queue is empty
retrieves and removes the head of the queue |