Package com.cedarsoftware.util
Class CompactMap.CompactMapEntry
- java.lang.Object
-
- java.util.AbstractMap.SimpleEntry<K,V>
-
- com.cedarsoftware.util.CompactMap.CompactMapEntry
-
- All Implemented Interfaces:
Serializable
,Map.Entry<K,V>
- Enclosing class:
- CompactMap<K,V>
public class CompactMap.CompactMapEntry extends AbstractMap.SimpleEntry<K,V>
Marker Class to hold key and value when the key is not the same as the getSingleValueKey(). This method transmits the setValue() changes to the outer CompactMap instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompactMapEntry(K key, V value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
V
setValue(V value)
-
Methods inherited from class java.util.AbstractMap.SimpleEntry
getKey, getValue, toString
-
-