Packageorg.aswing.util
Classpublic class HashSet

A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1 and e2 such that e1 === e2.



Public Methods
 MethodDefined by
  
HashSet
  
add(o:*):void
HashSet
  
addAll(arr:Array):void
HashSet
  
clear():void
HashSet
  
contains(o:*):Boolean
HashSet
  
containsAll(arr:Array):Boolean
HashSet
  
each(func:Function):void
HashSet
  
isEmpty():Boolean
HashSet
  
remove(o:*):Boolean
HashSet
  
removeAll(arr:Array):void
HashSet
  
size():int
HashSet
  
toArray():Array
HashSet
Constructor detail
HashSet()constructor
public function HashSet()
Method detail
add()method
public function add(o:*):voidParameters
o:*
addAll()method 
public function addAll(arr:Array):voidParameters
arr:Array
clear()method 
public function clear():void
contains()method 
public function contains(o:*):BooleanParameters
o:*

Returns
Boolean
containsAll()method 
public function containsAll(arr:Array):BooleanParameters
arr:Array

Returns
Boolean
each()method 
public function each(func:Function):voidParameters
func:Function
isEmpty()method 
public function isEmpty():Boolean

Returns
Boolean
remove()method 
public function remove(o:*):BooleanParameters
o:*

Returns
Boolean
removeAll()method 
public function removeAll(arr:Array):voidParameters
arr:Array
size()method 
public function size():int

Returns
int
toArray()method 
public function toArray():Array

Returns
Array