GitHub
isaacs projects
benchmark summary
benchmark details
Preparing search index...
The search index is not available
lru-cache
lru-cache
Stack
Class Stack
Hierarchy
Stack
Index
Constructors
constructor
Properties
heap
length
#constructing
Methods
pop
push
create
Constructors
constructor
new
Stack
(
max
,
HeapCls
)
:
Stack
Parameters
max
:
number
HeapCls
:
(
new
(
n
)
=>
NumberArray
)
new
(
n
)
:
NumberArray
Parameters
n
:
number
Returns
NumberArray
Returns
Stack
Properties
heap
heap
:
NumberArray
length
length
:
number
Static
Private
#constructing
#constructing
:
boolean
= false
Methods
pop
pop
(
)
:
Index
Returns
Index
push
push
(
n
)
:
void
Parameters
n
:
Index
Returns
void
Static
create
create
(
max
)
:
StackLike
Parameters
max
:
number
Returns
StackLike
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
heap
length
#constructing
pop
push
create
lru-cache
LRUCache
LRUCache
Stack
ZeroArray
BackgroundFetch
DisposeTask
Index
NumberArray
PosInt
StackLike
UintArray
Generated using
TypeDoc