Constructor Summary
| Public Constructor | ||
| public |
constructor(size: Integer) |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
|
|
| public |
|
|
| Private Members | ||
| private |
|
|
Method Summary
| Public Methods | ||
| public |
Add a field |
|
| public |
Empty the store |
|
| public |
Copy data from one store to another |
|
| public |
copyWithin(thisOffset: Integer, otherOffset: Integer, length: Integer): undefined Copy data within this store |
|
| public |
Dispose of the store entries and fields |
|
| public |
Resize the store to 1.5 times its current size if full |
|
| public |
Resize the store to the new size |
|
| public |
Sort entries in the store given the compare function |
|
| Private Methods | ||
| private |
Initialize the store |
|
| private |
_initField(name: String, size: Integer, type: String): undefined Initialize a field |
|
Public Constructors
Public Members
public [name] source
public count source
public length source
Private Members
private _fields source
Public Methods
public copyFrom(other: Store, thisOffset: Integer, otherOffset: Integer, length: Integer): undefined source
Copy data from one store to another
public copyWithin(thisOffset: Integer, otherOffset: Integer, length: Integer): undefined source
Copy data within this store
public resize(size: Integer): undefined source
Resize the store to the new size
Params:
| Name | Type | Attribute | Description |
| size | Integer | new size |
public sort(compareFunction: [type]): undefined source
Sort entries in the store given the compare function
Params:
| Name | Type | Attribute | Description |
| compareFunction | [type] | function to sort by |
