push

fun push(element: T)

Pushes the supplied element onto the Stack.

Parameters

element

The element to push onto this Stack.