java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
de.haumacher.msgbuf.util.ReferenceMap<K,V>
- All Implemented Interfaces:
Serializable,Cloneable,Map<K,V>
Map implementing a map-valued property of a data object that has a reverse end.
The reverse end must be handled in concrete subclasses by overriding beforeAdd(Object, Object) and
afterRemove(Object, Object).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putIfAbsent, replace, replace, replaceAll, size, valuesMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
ReferenceMap
public ReferenceMap()
-
-
Method Details
-
put
-
putAll
-
beforeAdd
-
remove
-
remove
-
clear
public void clear() -
afterRemove
-