- take
Retrieves and removes the head of this queue, waiting if necessary until an
element becomes availabl
- poll
Retrieves and removes the head of this queue, waiting up to the specified wait
time if necessary for
- put
Inserts the specified element into this queue, waiting if necessary for space to
become available.
- size
- add
Inserts the specified element into this queue if it is possible to do so
immediately without violati
- offer
Inserts the specified element into this queue, waiting up to the specified wait
time if necessary fo
- isEmpty
- clear
- drainTo
Removes at most the given number of available elements from this queue and adds
them to the given co
- remove
Removes a single instance of the specified element from this queue, if it is
present. More formally,
- remainingCapacity
Returns the number of additional elements that this queue can ideally (in the
absence of memory or r
- peek