<init>

Common
JVM
JS
Native
1.0
ArrayDeque(initialCapacity: Int)

Constructs an empty deque with specified initialCapacity, or throws IllegalArgumentException if initialCapacity is negative.

Common
JVM
JS
Native
1.0
ArrayDeque()

Constructs an empty deque.

Common
JVM
JS
Native
1.0
ArrayDeque(elements: Collection<E>)

Constructs a deque that contains the same elements as the specified elements collection in the same order.