FastList< T > Class Template Reference
Public Member Functions | |
delegate int | CompareFunc (T left, T right) |
Comparison function should return -1 if left is less than right, 1 if left is greater than right, and 0 if they match. More... | |
FastList () | |
FastList (int size) | |
void | Add (T item) |
void | AddUnique (T item) |
void | AddRange (IEnumerable< T > items) |
void | Insert (int index, T item) |
bool | Remove (T item) |
void | RemoveAt (int index) |
bool | RemoveFast (T item) |
void | RemoveAtFast (int index) |
bool | Contains (T item) |
int | IndexOf (T item) |
T | Pop () |
T [] | ToArray () |
void | Sort (CompareFunc comparer) |
void | InsertionSort (CompareFunc comparer) |
IEnumerator< T > | GetEnumerator () |
T | Find (Predicate< T > match) |
void | Clear () |
void | Release () |
Public Attributes | |
T [] | array = null |
int | size = 0 |
Properties | |
int | Count [get, set] |
T | this[int i] [get, set] |
Constructor & Destructor Documentation
◆ FastList() [1/2]
◆ FastList() [2/2]
Member Function Documentation
◆ Add()
void FastList< T >.Add | ( | T | item | ) |
◆ AddRange()
void FastList< T >.AddRange | ( | IEnumerable< T > | items | ) |
◆ AddUnique()
void FastList< T >.AddUnique | ( | T | item | ) |
◆ Clear()
void FastList< T >.Clear | ( | ) |
◆ CompareFunc()
delegate int FastList< T >.CompareFunc | ( | T | left, |
T | right | ||
) |
Comparison function should return -1 if left is less than right, 1 if left is greater than right, and 0 if they match.
◆ Contains()
bool FastList< T >.Contains | ( | T | item | ) |
◆ Find()
T FastList< T >.Find | ( | Predicate< T > | match | ) |
◆ GetEnumerator()
IEnumerator<T> FastList< T >.GetEnumerator | ( | ) |
◆ IndexOf()
int FastList< T >.IndexOf | ( | T | item | ) |
◆ Insert()
void FastList< T >.Insert | ( | int | index, |
T | item | ||
) |
◆ InsertionSort()
void FastList< T >.InsertionSort | ( | CompareFunc | comparer | ) |
◆ Pop()
T FastList< T >.Pop | ( | ) |
◆ Release()
void FastList< T >.Release | ( | ) |
◆ Remove()
bool FastList< T >.Remove | ( | T | item | ) |
◆ RemoveAt()
void FastList< T >.RemoveAt | ( | int | index | ) |
◆ RemoveAtFast()
void FastList< T >.RemoveAtFast | ( | int | index | ) |
◆ RemoveFast()
bool FastList< T >.RemoveFast | ( | T | item | ) |
◆ Sort()
void FastList< T >.Sort | ( | CompareFunc | comparer | ) |
◆ ToArray()
T [] FastList< T >.ToArray | ( | ) |
Member Data Documentation
◆ array
T [] FastList< T >.array = null |
◆ size
int FastList< T >.size = 0 |
Property Documentation
◆ Count
|
getset |
◆ this[int i]
|
getset |
The documentation for this class was generated from the following file:
- Oculus/AudioManager/Scripts/Utils/FastList.cs