E
- the type of elements held in this queue
Iterable<E>
, Collection<E>
, Queue<E>
ArrayBlockingQueue
, ConcurrentLinkedQueue
, DelayQueue
, LinkedBlockingDeque
, LinkedBlockingQueue
, LinkedTransferQueue
, PriorityBlockingQueue
, PriorityQueue
, SynchronousQueue
Constructors
protected
Constructor for use by subclasses.
boolean
Inserts the specified element into this queue if it is possible to do so immediately without violating capacity restrictions, returning true
upon success and throwing an IllegalStateException
if no space is currently available.
boolean
Adds all of the elements in the specified collection to this queue.
void
Removes all of the elements from this queue.
Retrieves, but does not remove, the head of this queue.
Retrieves and removes the head of this queue.
Methods declared in interface java.util.Collectioncontains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4