Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Stack<T>

Stack; LIFO (Last In First Out).

author

Jeongho Nam - https://github.com/samchon

Type parameters

  • T

Hierarchy

Implements

  • IEmpty
  • ISize
  • IPush<T>

Index

Constructors

Methods

Constructors

constructor

Methods

empty

  • empty(): boolean

pop

  • pop(): void

push

  • push(...elems: T[]): number

size

  • size(): number

swap

  • swap(obj: Stack<T>): void

top

  • top(): T

Generated using TypeDoc