net.walend.lyophil.collection
Class MutableFreezerHashMap
java.lang.Object
|
+--net.walend.lyophil.collection.AbstractFreezerHashMap
|
+--net.walend.lyophil.collection.MutableFreezerHashMap
- All Implemented Interfaces:
- HasState, Map, MapToFreezables, MutableMap, MutableMapToFreezables
- public class MutableFreezerHashMap
- extends AbstractFreezerHashMap
- implements MutableMapToFreezables
A MutableMapToFreezables built on AbstractFreezerHashMap.
- Since:
- 20010713
- Author:
- David Walend
Fields inherited from interface net.walend.collection.Map |
EMPTY |
Method Summary |
void |
clear()
Removes all key, value pairs from this Map. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Puts the key,value pair in the map. |
void |
putAll(Map map)
Puts all of the key, value pairs in map into this Map. |
void |
putAllIdentifiers(Map keysToIdentifiers)
Put a map of keys to identifiers into this Map. |
java.lang.Object |
putIdentifier(java.lang.Object key,
java.io.Serializable identifier)
Put an identifier into this Map. |
java.lang.Object |
remove(java.lang.Object key)
Removes the key, value pair from this Map. |
Methods inherited from class net.walend.lyophil.collection.AbstractFreezerHashMap |
containsAll, containsIdentifier, containsKey, containsValue, get, getdentifiers, getFreezableForID, getFreezer, getIdentifier, getIdentitor, getJavaMap, getKeys, getPrincipleInterface, getValues, identifierIterator, isEmpty, keyIterator, keysToIdentifiers, sameContentsAs, sameStateAs, size, toString, valueFreezableIterator, valueIterator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.walend.collection.Map |
containsAll, containsKey, containsValue, get, getIdentitor, getJavaMap, getKeys, getValues, isEmpty, keyIterator, sameContentsAs, size, valueIterator |
MutableFreezerHashMap
public MutableFreezerHashMap(Identitor identitor,
int capacity,
float loadFactor)
MutableFreezerHashMap
public MutableFreezerHashMap(int capacity,
float loadFactor)
MutableFreezerHashMap
public MutableFreezerHashMap(Identitor identitor,
int capacity)
MutableFreezerHashMap
public MutableFreezerHashMap(int capacity)
MutableFreezerHashMap
public MutableFreezerHashMap(Identitor identitor)
MutableFreezerHashMap
public MutableFreezerHashMap()
MutableFreezerHashMap
public MutableFreezerHashMap(Map map)
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
- Description copied from interface:
MutableMap
- Puts the key,value pair in the map.
Returns the previous value associated with key. If no value was associated, returns null.
- Specified by:
put
in interface MutableMap
- Overrides:
put
in class AbstractFreezerHashMap
remove
public java.lang.Object remove(java.lang.Object key)
- Description copied from interface:
MutableMap
- Removes the key, value pair from this Map.
Returns the value associated with key, or null if no value was associated.
- Specified by:
remove
in interface MutableMap
- Overrides:
remove
in class AbstractFreezerHashMap
putAll
public void putAll(Map map)
- Description copied from interface:
MutableMap
- Puts all of the key, value pairs in map into this Map. map's pairs replace any conflicting pairs in this Map.
- Specified by:
putAll
in interface MutableMap
- Overrides:
putAll
in class AbstractFreezerHashMap
clear
public void clear()
- Description copied from interface:
MutableMap
- Removes all key, value pairs from this Map.
- Specified by:
clear
in interface MutableMap
- Overrides:
clear
in class AbstractFreezerHashMap
putIdentifier
public java.lang.Object putIdentifier(java.lang.Object key,
java.io.Serializable identifier)
- Description copied from interface:
MutableMapToFreezables
- Put an identifier into this Map.
- Specified by:
putIdentifier
in interface MutableMapToFreezables
- Overrides:
putIdentifier
in class AbstractFreezerHashMap
putAllIdentifiers
public void putAllIdentifiers(Map keysToIdentifiers)
- Description copied from interface:
MutableMapToFreezables
- Put a map of keys to identifiers into this Map.
- Specified by:
putAllIdentifiers
in interface MutableMapToFreezables
- Overrides:
putAllIdentifiers
in class AbstractFreezerHashMap
Copyright (c) 2000, 2001, David Walend