CSet Class
The CSet class manages a collection of objects including numbers, strings, tables, classes, etc. Methods are provided for manipulating the collection. Pbjects must exist independent of the set, and adding or removing them from the collection does not create or delete them.
Construction |
Object = CSet:new() |
Destruction |
Object:delete() |
Creates a new instance of the CSet class |
|
Deletes the instance of the CSet object. |
|
Copies this CSet to a new CSet |
Appends the end of the list with a new member. |
|
Returns the number of members actually initialized. |
|
Returns the member at an index. |
|
Returns the index of a set member. |
|
Inserts a new member into the list. |
|
Removes the member at an index. |
|
Removes the member at the head of the list. |
|
Removes the member at the tail of the list. |
|
Removes the member by matching its value. |