Object | --HashMap
Located in File: Program_Root/util/HashMap.php
HashMap of objects that can be administered and searched, while hiding the internal implementation. This is an implementation of the HashMap class in the Java language.
phrame$Id: HashMap.html,v 1.1.1.1 2002/11/19 16:47:22 arcano Exp $Arnold Cano| Class Variable Summary |
$_values
Default Value:
|
| Inherited Class Variable Summary |
| Inherited Method Summary | ||||||||
Inherited From Class Object
|
| Variable Detail |
| Method Detail |
void constructor HashMap ( [$values = array()] )
Create a HashMap with the specified values.
- array $values: publicvoid clear ( )
Removes all mappings from this map.
publicboolean containsKey ( $key )
Returns true if this map contains a mapping for the specified key.
- mixed $key: publicboolean containsValue ( $value )
Returns true if this map maps one or more keys to the specified value.
- mixed $value: publicmixed get ( $key )
Returns the value to which the specified key is mapped in this identity hash map, or null if the map contains no mapping for this key.
- mixed $key: publicboolean isEmpty ( )
Returns true if this map contains no key-value mappings.
publicarray keySet ( )
Returns an array of the keys contained in this map.
publicmixed put ( $key, $value )
Associates the specified value with the specified key in this map.
- mixed $key: - mixed $value: publicvoid putAll ( $values )
Copies all of the mappings from the specified map to this map. These mappings will replace any mappings that this map had for any of the keys currently in the specified map.
- mixed $values: publicvoid remove ( $key )
Removes the mapping for this key from this map if present.
- mixed $key: publicinteger size ( )
Returns the number of key-value mappings in this map.
publicarray values ( )
Returns an array of the values contained in this map.
public