GitHub
isaacs projects
benchmark summary
benchmark details
Preparing search index...
The search index is not available
lru-cache
lru-cache
Stack
Class Stack
Index
Constructors
constructor
Properties
heap
length
Methods
pop
push
create
Constructors
constructor
new
Stack
(
max
,
HeapCls
)
:
Stack
Parameters
max
:
number
HeapCls
:
(
new
(
n
:
number
)
=>
NumberArray
)
new
(
n
)
:
NumberArray
Parameters
n
:
number
Returns
NumberArray
Returns
Stack
Properties
heap
heap
:
NumberArray
length
length
:
number
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
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
heap
length
Methods
pop
push
create
GitHub
isaacs projects
benchmark summary
benchmark details
lru-cache
Loading...