<init>

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
ArrayDeque(initialCapacity: Int)

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

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
ArrayDeque()

Constructs an empty deque.

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
ArrayDeque(elements: Collection<E>)

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

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-array-deque/-init-.html