Search
Preparing search index...
The search index is not available
gtools
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
gtools
models/data-structures/list/abstract-linked-list
AbstractLinkedList
Class AbstractLinkedList<T, S>
Type parameters
T
S
:
{
item
:
T
;
next
?:
S
}
Hierarchy
AbstractLinkedList
BiDirectionalLinkedList
OneDirectionalLinkedList
Implements
Iterable
<
T
>
Index
Constructors
constructor
Properties
first
local
Length
Accessors
empty
length
Methods
[
Symbol.iterator]
contains
get
Holder
AtNot
Checked
get
Item
At
to
Array
Constructors
constructor
new
Abstract
Linked
List<T, S>
(
)
:
AbstractLinkedList
<
T
,
S
>
Type parameters
T
S
:
{
item
:
T
;
next
?:
S
}
Returns
AbstractLinkedList
<
T
,
S
>
Properties
Protected
Optional
first
first
:
S
Protected
local
Length
local
Length
:
number
= 0
Accessors
empty
get
empty
(
)
:
boolean
Returns
boolean
length
get
length
(
)
:
number
Returns
number
Methods
[
Symbol.iterator]
[
Symbol.iterator]
(
)
:
IterableIterator
<
T
>
Returns
IterableIterator
<
T
>
contains
contains
(
item
:
T
)
:
boolean
Parameters
item:
T
Returns
boolean
Protected
get
Holder
AtNot
Checked
get
Holder
AtNot
Checked
(
index
:
number
)
:
undefined
|
S
Parameters
index:
number
Returns
undefined
|
S
get
Item
At
get
Item
At
(
index
:
number
)
:
undefined
|
T
Parameters
index:
number
Returns
undefined
|
T
to
Array
to
Array
(
)
:
T
[]
Returns
T
[]
Modules
models/data-
structures/list/abstract-
linked-
list
Abstract
Linked
List
constructor
first
local
Length
empty
length
[
Symbol.iterator]
contains
get
Holder
AtNot
Checked
get
Item
At
to
Array
Generated using
TypeDoc