Java java.util.concurrent BlockingDeque fields, constructors, methods, implement or subclass

Example usage for Java java.util.concurrent BlockingDeque fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.concurrent BlockingDeque.

The text is from its open source code.

Method

booleanoffer(E e, long timeout, TimeUnit unit)
Inserts the specified element into the queue represented by this deque (in other words, at the tail of this deque), waiting up to the specified wait time if necessary for space to become available.
intsize()
Returns the number of elements in this deque.