DIFF

class set<Class T>Source

Part of Enforce script essentials

Methods 14

proto int Insert(T value)

Inserts element at the end of array.

value
Element to be inserted

Returns: Position at which element is inserted

proto int InsertAt(T value, int index)

Inserts element at certain position and moves all elements behind this position by one.

value
Element to be inserted
index
Position at which element is inserted. Must be less than Array::GetCardinality()

Returns: Number of elements after insertion

proto native void Swap(set<T> other)
proto int Init(T init[])
void RemoveItems(set<T> other)
References Count(), and RemoveItem()
void Debug()
References Count(), string.Format(), Get()
Show 1 more, Print()