net.walend.lyophil.collection
Class MutableHashMapToFreezables
java.lang.Object
|
+--net.walend.lyophil.collection.AbstractHashMapToFreezables
|
+--net.walend.lyophil.collection.MutableHashMapToFreezables
- All Implemented Interfaces:
- HasState, Map, MapToFreezables, MutableMap, MutableMapToFreezables
- public class MutableHashMapToFreezables
- extends AbstractHashMapToFreezables
- 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.AbstractHashMapToFreezables |
containsAll, containsIdentifier, containsKey, containsValue, get, getdentifiers, getFreezableForID, getFreezer, getIdentifier, getIdentitor, getIDForFreezable, 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 |
MutableHashMapToFreezables
public MutableHashMapToFreezables(Identitor identitor,
int capacity,
float loadFactor)
MutableHashMapToFreezables
public MutableHashMapToFreezables(int capacity,
float loadFactor)
MutableHashMapToFreezables
public MutableHashMapToFreezables(Identitor identitor,
int capacity)
MutableHashMapToFreezables
public MutableHashMapToFreezables(int capacity)
MutableHashMapToFreezables
public MutableHashMapToFreezables(Identitor identitor)
MutableHashMapToFreezables
public MutableHashMapToFreezables()
MutableHashMapToFreezables
public MutableHashMapToFreezables(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 AbstractHashMapToFreezables
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 AbstractHashMapToFreezables
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 AbstractHashMapToFreezables
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 AbstractHashMapToFreezables
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 AbstractHashMapToFreezables
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 AbstractHashMapToFreezables
Copyright (c) 2000, 2001, David Walend