Stack

fun <T> Stack(vararg element: T)

Creates a Stack with vararg initial elements.


fun Stack()

Creates an empty Stack.


fun <T> Stack(elements: Collection<T>)

Creates a Stack with, given initial elements.