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>
A specialized Map.Entry implementation for single-entry storage in CompactMap.

Extends SimpleEntry to provide:

  • Write-through behavior to parent CompactMap on setValue
  • Case-sensitive/insensitive key comparison based on parent's configuration
  • Consistent hashCode computation with parent's key comparison logic

See Also: