Search
Preparing search index...
The search index is not available
@metagram/framework
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
OrderedSet
Class OrderedSet<T>
Type parameters
T
Hierarchy
OrderedSet
Implements
OrderedUniqueCollection
<
T
>
Index
Constructors
constructor
Properties
_items
Accessors
size
Methods
__@iterator
first
for
Each
has
index
Of
last
Constructors
constructor
new
Ordered
Set
(
_items
:
T
[]
)
:
OrderedSet
Parameters
_items:
T
[]
Returns
OrderedSet
Properties
Private
_items
_items
:
T
[]
Accessors
size
get
size
(
)
:
number
Returns
number
Methods
__@iterator
__@iterator
(
)
:
IterableIterator
<
T
>
Returns
IterableIterator
<
T
>
first
first
(
)
:
undefined
|
T
Returns
undefined
|
T
for
Each
for
Each
(
callbackfn
:
function
, thisArg
?:
any
)
:
void
Parameters
callbackfn:
function
(
value
:
T
, index
:
number
, collection
:
Collection
<
T
>
)
:
void
Parameters
value:
T
index:
number
collection:
Collection
<
T
>
Returns
void
Optional
thisArg:
any
Returns
void
has
has
(
value
:
T
)
:
boolean
Parameters
value:
T
Returns
boolean
index
Of
index
Of
(
item
:
T
)
:
number
Parameters
item:
T
Returns
number
last
last
(
)
:
undefined
|
T
Returns
undefined
|
T
Globals
Ordered
Set
constructor
_items
size
__@iterator
first
for
Each
has
index
Of
last
Generated using
TypeDoc