FastList<T>

Summary

List faster than list class When it exceeds a predetermined number of elements(default 32) High load generation

Relation

System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable

Type Params

TObject type

Constructor

#ctor(System.Int32,System.Boolean) List faster than list class When it exceeds a predetermined number of elements(default 32) High load generation

Indexer

This[System.Int32] Get elements

Property

Count Gets the count.
IsReadOnly Gets a value indicating whether this instance is read only.

Method

GetEnumerator( ) Get Enumerator
Clear( ) Clear all buffer ( Memory is not free )
Add(T) Add new value
AddRange(System.Collections.Generic.IList{T}) Add new value (Multiple)
Insert(System.Int32,T) Insert new value
Contains(T) Check contains value
IndexOf(T) Find index for the item
Remove(T) Remove from list
RemoveAt(System.Int32) Remove from list by index
ToArray( ) Conversion to array
Sort(FastList{T}.CompareFunc) Sort for the list
CopyTo(T[],System.Int32) Copy array

Reference