API Reference › Globals › EmsArray
# Class: EmsArray <T>
# Type parameters
▪ T
# Hierarchy
# Index
# Methods
# Methods
# clone
▸ clone(index
: number): EmsArray‹T›
Defined in packages/typings/ems.ts:7
Parameters:
Name | Type |
---|---|
index | number |
Returns: EmsArray‹T›
# delete
▸ delete(index
: number): void
Defined in packages/typings/ems.ts:8
Parameters:
Name | Type |
---|---|
index | number |
Returns: void
# deleteLater
▸ deleteLater(index
: number): void
Defined in packages/typings/ems.ts:9
Parameters:
Name | Type |
---|---|
index | number |
Returns: void
# get
▸ get(index
: number): T
Defined in packages/typings/ems.ts:2
Parameters:
Name | Type |
---|---|
index | number |
Returns: T
# isAliasOf
▸ isAliasOf(index
: number): boolean
Defined in packages/typings/ems.ts:10
Parameters:
Name | Type |
---|---|
index | number |
Returns: boolean
# isDeleted
▸ isDeleted(index
: number): boolean
Defined in packages/typings/ems.ts:11
Parameters:
Name | Type |
---|---|
index | number |
Returns: boolean
# push_back
▸ push_back(element
: T): void
Defined in packages/typings/ems.ts:3
Parameters:
Name | Type |
---|---|
element | T |
Returns: void
# resize
▸ resize(from
: number, to
: number): void
Defined in packages/typings/ems.ts:4
Parameters:
Name | Type |
---|---|
from | number |
to | number |
Returns: void
# set
▸ set(index
: number, element
: T): T
Defined in packages/typings/ems.ts:5
Parameters:
Name | Type |
---|---|
index | number |
element | T |
Returns: T
# size
▸ size(): number
Defined in packages/typings/ems.ts:6
Returns: number