pushAll

fun pushAll(elements: Collection<T>)

Pushes all the supplied elements onto the Stack. The element at index 0 of the List is pushed first.

Parameters

elements

The elements to push onto this Stack.


fun pushAll(vararg elements: T)

Pushes all the supplied elements onto the Stack. The first parameter is pushed first.

Parameters

elements

The elements to push onto this Stack.