ArrayDeque(initialCapacity: Int)
Constructs an empty deque with specified initialCapacity, or throws IllegalArgumentException if initialCapacity is negative.
ArrayDeque()
Constructs an empty deque.
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