public class BoundedConcurrentLinkedQueue<E> extends ConcurrentLinkedQueue<E>
| Constructor and Description |
|---|
BoundedConcurrentLinkedQueue(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E element) |
boolean |
addAll(Collection<? extends E> collection) |
boolean |
offer(E element) |
contains, isEmpty, iterator, peek, poll, remove, size, spliterator, toArray, toArrayclear, element, removecontainsAll, removeAll, retainAll, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclear, containsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, streampublic boolean add(E element)
add in interface Collection<E>add in interface Queue<E>add in class ConcurrentLinkedQueue<E>public boolean addAll(Collection<? extends E> collection)
addAll in interface Collection<E>addAll in class ConcurrentLinkedQueue<E>Copyright © 2018. All rights reserved.