- <init>
Creates a ConcurrentLinkedQueueinitially containing the elements of the given
collection, added in t
- add
Inserts the specified element at the tail of this queue. As the queue is
unbounded, this method will
- poll
- isEmpty
Returns true if this queue contains no elements.
- size
Returns the number of elements in this queue. If this queue contains more than
Integer.MAX_VALUE ele
- offer
Inserts the specified element at the tail of this queue. As the queue is
unbounded, this method will
- remove
Removes a single instance of the specified element from this queue, if it is
present. More formally,
- clear
- iterator
Returns an iterator over the elements in this queue in proper sequence. The
elements will be returne
- peek
- addAll
Appends all of the elements in the specified collection to the end of this
queue, in the order that
- contains
Returns true if this queue contains the specified element. More formally,
returns true if and only i