IndexedSet
-
class
Animation.IndexedSet() Provides the functionality of a
Setwith the addition of a monotonically-increasing index associated with each element.
Constructors
-
Animation.IndexedSet.constructor() - IndexedSet():
IndexedSet<T>Returns:
IndexedSet<T>
Methods
-
Animation.IndexedSet.add() - add(value: T): void
Parameters
value: TReturns: void
-
Animation.IndexedSet.getIndex() - getIndex(value: T): number
Parameters
value: TReturns: number
-
Animation.IndexedSet.isEmpty() - isEmpty(): boolean
Returns: boolean
-
Animation.IndexedSet.toArray() - toArray(): T[]
Returns an array containing each element of the set placed at its assigned index.
Returns: T[]