Constructor
new List()
Members
:number
countTODO
:*
firstTODO
:array
internalArrayTODO
:boolean
isEmptyTODO
:*
lastTODO
Methods
Add(p_item) → {boolean}
TODO
Parameters:
Name | Type | Description |
---|---|---|
p_item |
* |
At(p_index) → {*}
TODO
Parameters:
Name | Type | Description |
---|---|---|
p_index |
number |
Clear()
Clears the List
Contains(p_item)
Return whether or not the List contains the given item.
Parameters:
Name | Type | Description |
---|---|---|
p_item |
* |
ForEach(p_fn, p_this, p_reverse)
Loops through all items in List. Callback should match the signature : (item, index)
Parameters:
Name | Type | Default | Description |
---|---|---|---|
p_fn |
function | ||
p_this |
object |
null
|
|
p_reverse |
boolean |
false
|
IndexOf(p_item)
TODO
Parameters:
Name | Type | Description |
---|---|---|
p_item |
* |
Insert(p_item, p_index) → {*}
TODO
Parameters:
Name | Type | Description |
---|---|---|
p_item |
* | |
p_index |
* |
Pop() → {*}
TODO
Remove(p_item) → {*}
TODO
Parameters:
Name | Type | Description |
---|---|---|
p_item |
* |
RemoveAt(p_index) → {*}
TODO
Parameters:
Name | Type | Description |
---|---|---|
p_index |
* |
Shift() → {*}
TODO