ArrayList - acadet/ludivine GitHub Wiki

ArrayList<T>
|> IList<T>
    |> IListableCollection<T>
        |> ISortableCollection<T>
            |> ICollection<T>

Implementation of IList using array.

References

Constructors

ArrayList<T>()

Builds new list.

ArrayList<T>(source : ICollection<T>)

Builds new list.

Parameters

source Data source


Methods

add(value : T) : void

Inherited from IListableCollection.

average(getter : Func<T, number>) : number

Inherited from ICollection.

exists(selector : Func<T, boolean>) : boolean

Inherited from ICollection.

find(selector : Func<T, boolean>) : T

Inherited from ICollection.

forEach(action : Action<T>) : void

Inherited from ICollection.

getAt(index : number) : T

Inherited from IListableCollection.

getLength() : number

Inherited from IListableCollection.

insertAt(index : number, value : T) : void

Inherited from IList.

intersect(collection : ICollection<T>) : ICollection<T>

Inherited from ICollection.

map(action : Func<T, T>) : ICollection<T>

Inherited from ICollection.

max(getter : Func<T, number>) : T

Inherited from ICollection.

min(getter : Func<T, number>) : T

Inherited from ICollection.

orderBy<U>(getter : Func<T, U>) : ISortableCollection<T>

Inherited from ISortableCollection.

orderByDesc<U>(getter : Func<T, U>) : ISortableCollection<T>

Inherited from ISortableCollection.

remove(value : T) : void

Inherited from IListableCollection.

removeAt(index : number) : void

Inherited from IListableCollection.

removeIf(func : Func<T, boolean>) : void

Inherited from IListableCollection.

reverse() : ISortableCollection<T>

Inherited from ISortableCollection.

select(selector : Func<T, boolean>) : ICollection<T>

Inherited from ICollection.

sum(getter : Func<T, number>) : number

Inherited from ICollection.

toArray() : Array<T>

Inherited from ICollection.

toDictionary<K, V>(keyGetter : Func<T, K>, valueGetter : Func<T, V>) : IDictionary<K, V>

Inherited from ICollection.

toList() : IList<T>

Inherited from ICollection.

union(collection : ICollection<T>) : ICollection<T>

Inherited from ICollection.

uniq() : ICollection<T>

Inherited from ICollection.

⚠️ **GitHub.com Fallback** ⚠️