Package | com.ericfeminella.utils |
Interface | public interface IMap |
Implementors | HashMap |
Method | Defined 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 |
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
Parameterskey:String |
Boolean |
containsValue | () | method |
public function containsValue(value:*):Boolean
Determines if a value exists in the current map
Parametersvalue:* |
Boolean |
getValue | () | method |
public function getValue(key:String):*
Returns a key value from the current Map
Parameterskey:String |
* |
isEmpty | () | method |
public function isEmpty():Boolean
Determines if the current map is empty
ReturnsBoolean |
put | () | method |
public function put(key:String, value:*):void
Adds a key / value to the current Map
Parameterskey:String |
|
value:* |
remove | () | method |
public function remove(key:String):void
Removes a key / value from the current Map
Parameterskey:String |
size | () | method |
public function size():int
Returns the size of this map
Returnsint |