| Package | org.servebox.commons.map |
| Class | public class Hashtable |
| Implements | IMap |
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new Hashtable object.
| Hashtable | ||
|
clear():void
Removes all mappings from this map (optional operation).
| Hashtable | ||
|
Creates a shallow copy of this hashtable.
| Hashtable | ||
|
contains(value:IBasicObject):Boolean
| Hashtable | ||
|
containsKey(key:Object):Boolean
Returns true if this map contains a mapping for the specified key.
| Hashtable | ||
|
containsValue(value:IBasicObject):Boolean
Returns true if this map maps one or more keys to the specified value.
| Hashtable | ||
|
elements():Array
| Hashtable | ||
|
equals(value:IBasicObject):Boolean
Object comparison mechanism.
| Hashtable | ||
|
get(key:Object):IBasicObject
| Hashtable | ||
|
hashCode():int
Returns the hashcode of the object.
| Hashtable | ||
|
isEmpty():Boolean
Returns true if this map contains no key-value mappings.
| Hashtable | ||
|
keys():Array
Returns a view of the keys contained in this map.
| Hashtable | ||
|
keySet():Array
Returns a view of the keys contained in this map.
| Hashtable | ||
|
Copies the key/values pair using the specified set of keys to a new map instance.
| Hashtable | ||
|
put(key:Object, value:IBasicObject):Object
Maps the specified key to the specified value in this Hashtable.
Hashtable uses key.hashCode to store and retrieve values.Keys should implement a hashCode() : int method, or the Hashtable
will throw an Error. | Hashtable | ||
|
Copies all of the mappings from the specified map to this map (optional operation).
| Hashtable | ||
|
remove(key:Object):Object
Removes the mapping for this key from this map if present (optional operation).
| Hashtable | ||
|
size():int
Returns the number of key-value mappings in this map.
| Hashtable | ||
|
toString():String
Returns the string representation of the specified object.
| Hashtable | ||
|
values():Array
Returns a collection view of the values contained in this map.
| Hashtable | ||
| Hashtable | () | constructor |
public function Hashtable()Creates a new Hashtable object.
| clear | () | method |
public function clear():voidRemoves all mappings from this map (optional operation).
| clone | () | method |
| contains | () | method |
| containsKey | () | method |
public function containsKey(key:Object):BooleanReturns true if this map contains a mapping for the specified key.
Parameterskey:Object |
Boolean |
| containsValue | () | method |
public function containsValue(value:IBasicObject):BooleanReturns true if this map maps one or more keys to the specified value.
Parametersvalue:IBasicObject |
Boolean |
| elements | () | method |
public function elements():ArrayReturns
Array |
| equals | () | method |
public function equals(value:IBasicObject):Boolean
Object comparison mechanism. By default, the comparison is
performed using the == operator. The definition
of your own equals method is strongly encouraged.
value:IBasicObject |
Boolean |
| get | () | method |
| hashCode | () | method |
public function hashCode():intReturns the hashcode of the object.
Returnsint |
| isEmpty | () | method |
public function isEmpty():BooleanReturns true if this map contains no key-value mappings.
ReturnsBoolean |
| keys | () | method |
public function keys():ArrayReturns a view of the keys contained in this map.
ReturnsArray |
| keySet | () | method |
public function keySet():ArrayReturns a view of the keys contained in this map.
ReturnsArray |
| needleMap | () | method |
public function needleMap(neededKeys:Array):IMapCopies the key/values pair using the specified set of keys to a new map instance.
ParametersneededKeys:Array |
IMap |
| put | () | method |
public function put(key:Object, value:IBasicObject):Object
Maps the specified key to the specified value in this Hashtable.
Hashtable uses key.hashCode to store and retrieve values.
Keys should implement a hashCode() : int method, or the Hashtable
will throw an Error.
key:Object |
|
value:IBasicObject |
Object |
| putAll | () | method |
public function putAll(t:IMap):voidCopies all of the mappings from the specified map to this map (optional operation).
Parameterst:IMap |
| remove | () | method |
public function remove(key:Object):ObjectRemoves the mapping for this key from this map if present (optional operation).
Parameterskey:Object |
Object |
| size | () | method |
public function size():intReturns the number of key-value mappings in this map.
Returnsint |
| toString | () | method |
public function toString():StringReturns the string representation of the specified object.
ReturnsString |
| values | () | method |
public function values():ArrayReturns a collection view of the values contained in this map.
ReturnsArray |