Packagecom.ericfeminella.utils
Interfacepublic interface IMap
ImplementorsHashMap

Defines the contract for HashMap implementations



Public Methods
 MethodDefined by
  
clear():void
Resets all key / values in map to null
IMap
  
containsKey(key:String):Boolean
Determines if a key exists in the current map
IMap
  
containsValue(value:*):Boolean
Determines if a value exists in the current map
IMap
  
getValue(key:String):*
Returns a key value from the current Map
IMap
  
isEmpty():Boolean
Determines if the current map is empty
IMap
  
put(key:String, value:*):void
Adds a key / value to the current Map
IMap
  
remove(key:String):void
Removes a key / value from the current Map
IMap
  
size():int
Returns the size of this map
IMap
Method detail
clear()method
public function clear():void

Resets all key / values in map to null

containsKey()method 
public function containsKey(key:String):Boolean

Determines if a key exists in the current map

Parameters
key:String

Returns
Boolean
containsValue()method 
public function containsValue(value:*):Boolean

Determines if a value exists in the current map

Parameters
value:*

Returns
Boolean
getValue()method 
public function getValue(key:String):*

Returns a key value from the current Map

Parameters
key:String

Returns
*
isEmpty()method 
public function isEmpty():Boolean

Determines if the current map is empty

Returns
Boolean
put()method 
public function put(key:String, value:*):void

Adds a key / value to the current Map

Parameters
key:String
 
value:*
remove()method 
public function remove(key:String):void

Removes a key / value from the current Map

Parameters
key:String
size()method 
public function size():int

Returns the size of this map

Returns
int