Search
Preparing search index...
The search index is not available
mighty-promise
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
mighty-promise
LinkedList
Class LinkedList<T>
Type parameters
T
Hierarchy
LinkedList
Index
Constructors
constructor
Properties
_head
_tail
size
Accessors
empty
head
tail
Methods
[
Symbol.iterator]
_push
_push
Front
_update
Head
And
Tail
clear
pop
pop
Front
push
push
Front
to
Array
Constructors
constructor
new
Linked
List<T>
(
arr
?:
Iterable
<
T
>
)
:
LinkedList
<
T
>
Type parameters
T
Parameters
Optional
arr:
Iterable
<
T
>
Returns
LinkedList
<
T
>
Properties
Private
Optional
_head
_head
:
undefined
|
Node
<
T
>
Private
Optional
_tail
_tail
:
undefined
|
Node
<
T
>
size
size
:
number
= 0
Accessors
empty
get
empty
(
)
:
boolean
Returns
boolean
head
get
head
(
)
:
undefined
|
T
Returns
undefined
|
T
tail
get
tail
(
)
:
undefined
|
T
Returns
undefined
|
T
Methods
[
Symbol.iterator]
[
Symbol.iterator]
(
)
:
Generator
<
T
,
void
,
unknown
>
Returns
Generator
<
T
,
void
,
unknown
>
Private
_push
_push
(
item
:
T
)
:
void
Parameters
item:
T
Returns
void
Private
_push
Front
_push
Front
(
item
:
T
)
:
void
Parameters
item:
T
Returns
void
Private
_update
Head
And
Tail
_update
Head
And
Tail
(
)
:
void
Returns
void
clear
clear
(
)
:
void
Returns
void
pop
pop
(
)
:
undefined
|
T
Returns
undefined
|
T
pop
Front
pop
Front
(
)
:
undefined
|
T
Returns
undefined
|
T
push
push
(
...
items
:
T
[]
)
:
void
Parameters
Rest
...
items:
T
[]
Returns
void
push
Front
push
Front
(
...
items
:
T
[]
)
:
void
Parameters
Rest
...
items:
T
[]
Returns
void
to
Array
to
Array
(
)
:
T
[]
Returns
T
[]
Exports
Linked
List
constructor
_head
_tail
size
empty
head
tail
[
Symbol.iterator]
_push
_push
Front
_update
Head
And
Tail
clear
pop
pop
Front
push
push
Front
to
Array
Priority
Queue
Queue
Task
Queue
DAY
FRAME
HOUR
MINUTE
SECOND
delay
retry
Generated using
TypeDoc