Example usage for Java java.util.concurrent LinkedBlockingDeque fields, constructors, methods, implement or subclass
The text is from its open source code.
LinkedBlockingDeque(int capacity) Creates a LinkedBlockingDeque with the given (fixed) capacity. | |
LinkedBlockingDeque(Collection extends E> c) Creates a LinkedBlockingDeque with a capacity of Integer#MAX_VALUE , initially containing the elements of the given collection, added in traversal order of the collection's iterator. | |
LinkedBlockingDeque() Creates a LinkedBlockingDeque with a capacity of Integer#MAX_VALUE . |
boolean | add(E e) Inserts the specified element at the end of this deque unless it would violate capacity restrictions. |
E | poll() |
void | put(E e) |
void | putFirst(E e) |
int | size() Returns the number of elements in this deque. |
E | take() |
E | takeFirst() |