Home

Set

Set of objects

Operations

New

Default constructor

New()

Empty

Clears the set

method : public : native : Empty() ~ Nil

GetKeys

Get a collection of keys

method : public : GetKeys() ~ CompareVector
Return
TypeDescription
CompareVectorvector of keys

Has

Checks for key in set

method : public : Has(key:Compare) ~ Bool
Parameters
NameTypeDescription
keyComparesearch key

Return
TypeDescription
Booltrue if found, false otherwise

Insert

Inserts a key into the set

method : public : Insert(key:Compare) ~ Nil
Parameters
NameTypeDescription
keyComparekey

IsEmpty

Checks to see if the map is empty

method : public : native : IsEmpty() ~ Bool
Return
TypeDescription
Booltrue if empty, false otherwise

Remove

Removes a key from the set

method : public : Remove(key:Compare) ~ Bool
Parameters
NameTypeDescription
keyComparekey for value to remove

Return
TypeDescription
Booltrue if removed, false otherwise

Size

Size of map

method : public : native : Size() ~ Int
Return
TypeDescription
Intsize of queue