<init>
Constructs an empty deque with specified initialCapacity , or throws IllegalArgumentException if initialCapacity is negative.
ArrayDeque
(
elements
:
Collection
<
E
>
)
Constructs a deque that contains the same elements as the specified elements collection in the same order.