Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2GrowableStack<T>

Type parameters

  • T

Hierarchy

  • b2GrowableStack

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • N: number

    Returns b2GrowableStack

Properties

m_count

m_count: number = 0

m_stack

m_stack: Array<T | null> = []

Methods

GetCount

  • GetCount(): number
  • Returns number

Pop

  • Pop(): T
  • Returns T

Push

  • Push(element: T): void
  • Parameters

    • element: T

    Returns void

Reset

  • Reset(): this
  • Returns this

Generated using TypeDoc