Skip to main content

CCRawList<T>

CCRawList

Cocos2D

Inheritance: 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.Boolean
Example

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.Boolean

FastRemoveAt(int)

FastRemoveAt(int)(System.Int32 index)
Parameters:
index (System.Int32)

First()

T First()()
Returns:
T

Free()

Free()()

GetEnumerator()

Cocos2D.CCRawList`1.Enumerator GetEnumerator()()
Returns:
Cocos2D.CCRawList`1.Enumerator

IncreaseCount(int)

IncreaseCount(int)(System.Int32 size)
Parameters:
size (System.Int32)

IndexOf(T)

System.Int32 IndexOf(T)(T item)
Parameters:
item (T)
Returns:
System.Int32
Example

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:
T

PackToCount()

PackToCount()()

Peek()

T Peek()()
Returns:
T

Pop()

T Pop()()
Returns:
T

Push(T)

Push(T)(T item)
Parameters:
item (T)

Remove(T)

System.Boolean Remove(T)(T item)
Parameters:
item (T)
Returns:
System.Boolean
Example

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[]