Description
class SmartArray
Constructor
Parameters
|
Name |
Type |
Description |
|
capacity |
number |
|
Members
data : Array<T>
length : number
Methods
push(value) → void
Parameters
|
Name |
Type |
Description |
|
value |
T |
|
forEach(func) → void
Parameters
|
Name |
Type |
Description |
|
func |
|
content |
T |
|
|
sort(compareFn) → void
Parameters
|
Name |
Type |
Description |
|
compareFn |
|
a |
T |
|
|
b |
T |
|
reset() → void
dispose() → void
concat(array) → void
Parameters
|
Name |
Type |
Description |
|
array |
any |
|
indexOf(value) → number
Parameters
|
Name |
Type |
Description |
|
value |
T |
|
contains(value) → boolean
Parameters
|
Name |
Type |
Description |
|
value |
T |
|