ValueHashMap

This hash map supports keys of type Value.

Methods
static ValueHashMap newInstance()
Create a new value hash map.
static ValueHashMap newInstance()
Create a new value hash map.
Returns:
the object
V get(Value key)
Get the value for this key.
V get(Value key)
Get the value for this key. This method returns null if the key was not found.
Parameters:
key - the key
Returns:
the value for the given key
ArrayList keys()
Get the list of keys.
ArrayList keys()
Get the list of keys.
Returns:
all keys
void put(Value key, V value)
Add or update a key value pair.
void put(Value key, V value)
Add or update a key value pair.
Parameters:
key - the key
value - the new value
void rehash(int newLevel)
void rehash(int newLevel)
void remove(Value key)
Remove a key value pair.
void remove(Value key)
Remove a key value pair.
Parameters:
key - the key
void reset(int newLevel)
void reset(int newLevel)
ArrayList values()
Get the list of values.
ArrayList values()
Get the list of values.
Returns:
all values