CCRawList<T>
CCRawList
Cocos2DInheritance: System.Object
Implements: System.Collections.Generic.IList{{T}}, System.Collections.Generic.ICollection{{T}}, System.Collections.Generic.IEnumerable{{T}}, System.Collections.IEnumerable
Constructors
CCRawList(bool)
CCRawList(bool)(System.Boolean useArrayPool)Parameters:
useArrayPool (System.Boolean)CCRawList(IList, bool)
CCRawList(IList, bool)(System.Collections.Generic.IListT elements, System.Boolean useArrayPool)Parameters:
elements (System.Collections.Generic.IListT)useArrayPool (System.Boolean)CCRawList(int, bool)
CCRawList(int, bool)(System.Int32 initialCapacity, System.Boolean useArrayPool)Parameters:
initialCapacity (System.Int32)useArrayPool (System.Boolean)Fields
Elements(T[])
UseArrayPool(System.Boolean)
count(System.Int32)
Properties
Capacity(System.Int32)
Count(System.Int32)
this[int](T)
Methods
Add(T)
Add(T)(T item)Parameters:
item (T)Example
Add(ref T)
Add(ref T)(T item)Parameters:
item (T)AddRange(CCRawList)
AddRange(CCRawList)(Cocos2D.CCRawList`1 items)Parameters:
items (Cocos2D.CCRawList`1)AddRange(CCRawList, int, int)
AddRange(CCRawList, int, int)(Cocos2D.CCRawList`1 items, System.Int32 offset, System.Int32 c)Parameters:
items (Cocos2D.CCRawList`1)offset (System.Int32)c (System.Int32)AddRange(IList)
AddRange(IList)(System.Collections.Generic.IListT items)Parameters:
items (System.Collections.Generic.IListT)AddRange(List)
AddRange(List)(System.Collections.Generic.ListT items)Parameters:
items (System.Collections.Generic.ListT)Clear()
Clear()()Example
Clear(bool)
Clear(bool)(System.Boolean fullClear)Parameters:
fullClear (System.Boolean)Contains(T)
System.Boolean Contains(T)(T item)Parameters:
item (T)Returns:
System.BooleanExample
CopyTo(T[], int)
CopyTo(T[], int)(T[] array, System.Int32 arrayIndex)Parameters:
array (T[])arrayIndex (System.Int32)Example
FastInsert(int, T)
FastInsert(int, T)(System.Int32 index, T item)Parameters:
index (System.Int32)item (T)FastRemove(T)
System.Boolean FastRemove(T)(T item)Parameters:
item (T)Returns:
System.BooleanFastRemoveAt(int)
FastRemoveAt(int)(System.Int32 index)Parameters:
index (System.Int32)First()
T First()()Returns:
TFree()
Free()()GetEnumerator()
Cocos2D.CCRawList`1.Enumerator GetEnumerator()()Returns:
Cocos2D.CCRawList`1.EnumeratorIncreaseCount(int)
IncreaseCount(int)(System.Int32 size)Parameters:
size (System.Int32)IndexOf(T)
System.Int32 IndexOf(T)(T item)Parameters:
item (T)Returns:
System.Int32Example
Insert(int, T)
Insert(int, T)(System.Int32 index, T item)Parameters:
index (System.Int32)item (T)Example
InsertRange(int, CCRawList)
InsertRange(int, CCRawList)(System.Int32 index, Cocos2D.CCRawList`1 c)Parameters:
index (System.Int32)c (Cocos2D.CCRawList`1)Last()
T Last()()Returns:
TPackToCount()
PackToCount()()Peek()
T Peek()()Returns:
TPop()
T Pop()()Returns:
TPush(T)
Push(T)(T item)Parameters:
item (T)Remove(T)
System.Boolean Remove(T)(T item)Parameters:
item (T)Returns:
System.BooleanExample
RemoveAt(int)
RemoveAt(int)(System.Int32 index)Parameters:
index (System.Int32)Example
RemoveAt(int, int)
RemoveAt(int, int)(System.Int32 index, System.Int32 amount)Parameters:
index (System.Int32)amount (System.Int32)RemoveRange(int, int)
RemoveRange(int, int)(System.Int32 index, System.Int32 rangeCount)Parameters:
index (System.Int32)rangeCount (System.Int32)Reverse()
Reverse()()Sort(IComparer)
Sort(IComparer)(System.Collections.Generic.IComparerT comparer)Parameters:
comparer (System.Collections.Generic.IComparerT)ToArray()
T[] ToArray()()Returns:
T[]