Set |
A set is a collection of values, without any particular order and no repeated values. The value is its own key.
Set | A set is a collection of values, without any particular order and no repeated values. |
Functions | |
Set | Creates a new empty set. |
get | Reads an item from the set. |
set | Writes an item to the set. |
remove | Removes an item from the set. |
contains | @inheritDoc |
clear | @inheritDoc |
getIterator | @inheritDoc |
Properties | |
size | @inheritDoc |
Functions | |
isEmpty | @inheritDoc |
toArray | @inheritDoc |
toString | Prints out a string representing the current object. |
dump | Prints out all elements (for debug/demo purposes). |
Creates a new empty set.
public function Set()
Reads an item from the set.
public function get( obj: * ):*
Writes an item to the set.
public function set( obj: * ):void
Removes an item from the set.
public function remove( obj: * ):Boolean
@inheritDoc
public function contains( obj: * ):Boolean
@inheritDoc
public function clear():void
@inheritDoc
public function getIterator():Iterator
@inheritDoc
public function get size():int
@inheritDoc
public function isEmpty():Boolean
@inheritDoc
public function toArray():Array
Prints out a string representing the current object.
public function toString():String
Prints out all elements (for debug/demo purposes).
public function dump():String