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, toArray
clear, element, remove
containsAll, removeAll, retainAll, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clear, containsAll, equals, hashCode, parallelStream, removeAll, removeIf, retainAll, stream
public 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.