SegmentedRingVector
Defined in: packages/data/src/storage/segmented-ring-vector.ts:24
Type Parameters
Section titled “Type Parameters”T extends DefinedValue
Implements
Section titled “Implements”IListStorage<T>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SegmentedRingVector<
T>(iterable?,options?):SegmentedRingVector<T>
Defined in: packages/data/src/storage/segmented-ring-vector.ts:33
Parameters
Section titled “Parameters”iterable?
Section titled “iterable?”Iterable<T, any, any>
options?
Section titled “options?”Returns
Section titled “Returns”SegmentedRingVector<T>
Properties
Section titled “Properties”capacity
Section titled “capacity”
readonlycapacity:number
Defined in: packages/data/src/storage/segmented-ring-vector.ts:31
chunkSize
Section titled “chunkSize”
readonlychunkSize:number
Defined in: packages/data/src/storage/segmented-ring-vector.ts:30
Methods
Section titled “Methods”[iterator]()
Section titled “[iterator]()”[iterator]():
Iterator<T>
Defined in: packages/data/src/storage/segmented-ring-vector.ts:77
Returns
Section titled “Returns”Iterator<T>
Implementation of
Section titled “Implementation of”IListStorage.[iterator]
back()
Section titled “back()”back():
T|undefined
Defined in: packages/data/src/storage/segmented-ring-vector.ts:153
Returns
Section titled “Returns”T | undefined
Implementation of
Section titled “Implementation of”IListStorage.back
clear()
Section titled “clear()”clear():
void
Defined in: packages/data/src/storage/segmented-ring-vector.ts:88
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IListStorage.clear
count()
Section titled “count()”count():
number
Defined in: packages/data/src/storage/segmented-ring-vector.ts:84
Returns
Section titled “Returns”number
Implementation of
Section titled “Implementation of”IListStorage.count
front()
Section titled “front()”front():
T|undefined
Defined in: packages/data/src/storage/segmented-ring-vector.ts:207
Returns
Section titled “Returns”T | undefined
Implementation of
Section titled “Implementation of”IListStorage.front
get(
index):T|undefined
Defined in: packages/data/src/storage/segmented-ring-vector.ts:94
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”T | undefined
Implementation of
Section titled “Implementation of”IListStorage.get
popBack()
Section titled “popBack()”popBack():
T|undefined
Defined in: packages/data/src/storage/segmented-ring-vector.ts:127
Returns
Section titled “Returns”T | undefined
Implementation of
Section titled “Implementation of”IListStorage.popBack
popFront()
Section titled “popFront()”popFront():
T|undefined
Defined in: packages/data/src/storage/segmented-ring-vector.ts:180
Returns
Section titled “Returns”T | undefined
Implementation of
Section titled “Implementation of”IListStorage.popFront
pushBack()
Section titled “pushBack()”pushBack(
item):void
Defined in: packages/data/src/storage/segmented-ring-vector.ts:110
Parameters
Section titled “Parameters”T
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IListStorage.pushBack
pushBackAll()
Section titled “pushBackAll()”pushBackAll(
items):void
Defined in: packages/data/src/storage/segmented-ring-vector.ts:121
Parameters
Section titled “Parameters”Iterable<T>
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IListStorage.pushBackAll
pushFront()
Section titled “pushFront()”pushFront(
item):void
Defined in: packages/data/src/storage/segmented-ring-vector.ts:163
Parameters
Section titled “Parameters”T
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IListStorage.pushFront
pushFrontAll()
Section titled “pushFrontAll()”pushFrontAll(
items):void
Defined in: packages/data/src/storage/segmented-ring-vector.ts:174
Parameters
Section titled “Parameters”readonly T[]
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IListStorage.pushFrontAll
set(
index,item):void
Defined in: packages/data/src/storage/segmented-ring-vector.ts:100
Parameters
Section titled “Parameters”number
T
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”IListStorage.set