IndexedCollection<T> Interface

    Package: @esfx/collection-core
    Declaration
    export interface IndexedCollection<T> extends FixedSizeIndexedCollection<T>, Collection<T> 
    Inheritance
    FixedSizeIndexedCollection<T>
    Collection<T>
    IndexedCollection<T>
    Inherited Members
    [FixedSizeIndexedCollection.setAt](index, value)
    [Collection.add](value)
    [Collection.clear]()
    [Collection.delete](value)

    Methods

    [IndexedCollection.insertAt](index, value)

    Inserts a value at the specified index in the collection, shifting any following elements to the right one position.

    Declaration
    [IndexedCollection.insertAt](index: number, value: T): void;
    Parameters
    index
    number

    value
    T

    Returns
    void

    [IndexedCollection.removeAt](index)

    Removes the value at the specified index in the collection, shifting any following elements to the left one position.

    Declaration
    [IndexedCollection.removeAt](index: number): void;
    Parameters
    index
    number

    Returns
    void

    Generated by DocFX