TGenStack

A LIFO (Last In First Out) structure.

Constructors

Link copied to clipboard
fun <TGen> TGenStack(vararg items: TGen)
Link copied to clipboard
fun TGenStack()

Functions

Link copied to clipboard
open operator override fun contains(element: TGen): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<TGen>): Boolean
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<TGen>
Link copied to clipboard
fun peek(): TGen?
Link copied to clipboard
fun pop(): TGen
Link copied to clipboard
fun push(v: TGen)

Properties

Link copied to clipboard
open override val size: Int