Import
Constructors
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
buffer | T[] | ||
number |
Methods
Constructs a new instance of the ArrayVector
class
Signature
constructor(buffer?: T[]);
Parameters
Parameter | Type | Description |
---|---|---|
buffer | T[] |
buffer property
Signature
length property
Signature
add(value: T): void;
Parameters
Returns:
void
get method
Signature
Parameters
Parameter | Type | Description |
---|---|---|
index | number |
Returns:
T
reverse method
Signature
reverse(): void;
Returns:
Signature
Parameters
Returns:
void
toArray method
Signature
Returns:
T[]
toJSON method
Signature
toJSON(): T[];
Returns: