Beef Corlib
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Properties | List of all members
System.Collections.Generic.List< T > Class Template Reference
Inheritance diagram for System.Collections.Generic.List< T >:
System.Collections.Generic.IEnumerable< T > System.Collections.Generic.IList System.Collections.Generic.ICollection< T > System.Collections.Generic.ListWithAlloc< T >

Classes

struct  Enumerator
 

Public Member Functions

 List (IEnumerator< T > enumerator)
 
 List (int capacity)
 
void Add (T item)
 Adds an item to the back of the list.
 
void Add (Span< T > addSpan)
 Adds an item to the back of the list.
 
T * GrowUnitialized (int addSize)
 Returns a pointer to the start of the added uninitialized section.
 
void Clear ()
 
bool Contains (T item)
 
void CopyTo (T[] array)
 
void CopyTo (List< T > destList)
 
void CopyTo (T[] array, int arrayIndex)
 
void CopyTo (int index, T[] array, int arrayIndex, int count)
 
void EnsureCapacity (int min)
 
void Reserve (int size)
 
Enumerator GetEnumerator ()
 
int FindIndex (Predicate< T > match)
 
int IndexOf (T item)
 
int LastIndexOf (T item)
 
int IndexOf (T item, int index)
 
int IndexOf (T item, int index, int count)
 
void Insert (int index, T item)
 
void Insert (int index, Span< T > items)
 
void RemoveAt (int index)
 
void RemoveRange (int index, int count)
 
void RemoveAtFast (int index)
 
void Sort (Comparison< T > comp)
 
int RemoveAll (Predicate< T > match)
 
PopBack ()
 
PopFront ()
 
bool Remove (T item)
 
int BinarySearch (T item, delegate int(T lhs, T rhs) comparer)
 
int BinarySearch (int index, int count, T item, delegate int(T lhs, T rhs) comparer)
 

Static Public Member Functions

static operator Span< T > (List< T > list)
 

Protected Member Functions

this[intindex] T * Alloc (int size)
 
void Free (T *val)
 
override void GCMarkMembers ()
 

Properties

int AllocSize [get]
 
bool IsDynAlloc [get]
 
T * Ptr [get]
 
int Capacity [get, set]
 
int Count [get]
 
bool IsEmpty [get]
 
ref T this[int index] [get, set]
 
this[intindex] ref T Front [get]
 
ref T Back [get]
 
- Properties inherited from System.Collections.Generic.IList
Variant this[int index] [get, set]
 
- Properties inherited from System.Collections.Generic.ICollection< T >
abstract int Count [get]