IntStack

A LIFO (Last In First Out) structure.

Constructors

Link copied to clipboard
fun IntStack(vararg items: Int)
Link copied to clipboard
fun IntStack()

Functions

Link copied to clipboard
open operator override fun contains(element: Int): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<Int>): 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<Int>
Link copied to clipboard
fun peek(): Int?
Link copied to clipboard
fun pop(): Int
Link copied to clipboard
fun push(v: Int)

Properties

Link copied to clipboard
open override val size: Int