Search
Preparing search index...
The search index is not available
Data Structures and Algorithms
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Data Structures and Algorithms
Deque
Class Deque<T>
Type parameters
T
Hierarchy
Deque
Index
Constructors
constructor
Properties
list
Accessors
back
empty
front
size
Methods
pop
Back
pop
Front
push
Back
push
Front
Constructors
constructor
new
Deque
<
T
>
(
initialArray
?:
T
[]
)
:
Deque
<
T
>
Type parameters
T
Parameters
initialArray:
T
[]
= []
Returns
Deque
<
T
>
Properties
Private
list
list
:
LinkedList
<
T
>
Accessors
back
get
back
(
)
:
T
Returns
T
empty
get
empty
(
)
:
boolean
Returns
boolean
front
get
front
(
)
:
T
Returns
T
size
get
size
(
)
:
number
Returns
number
Methods
pop
Back
pop
Back
(
)
:
T
Returns
T
pop
Front
pop
Front
(
)
:
T
Returns
T
push
Back
push
Back
(
value
:
T
)
:
number
Parameters
value:
T
Returns
number
push
Front
push
Front
(
value
:
T
)
:
number
Parameters
value:
T
Returns
number
Exports
Deque
constructor
list
back
empty
front
size
pop
Back
pop
Front
push
Back
push
Front