Package com.cedarsoftware.util
Class CaseInsensitiveMap.CaseInsensitiveEntry
- java.lang.Object
-
- java.util.AbstractMap.SimpleEntry<K,V>
-
- com.cedarsoftware.util.CaseInsensitiveMap.CaseInsensitiveEntry
-
- All Implemented Interfaces:
Serializable
,Map.Entry<K,V>
- Enclosing class:
- CaseInsensitiveMap<K,V>
public class CaseInsensitiveMap.CaseInsensitiveEntry extends AbstractMap.SimpleEntry<K,V>
Entry implementation that will give back a String instead of a CaseInsensitiveString when .getKey() is called. Also, when the setValue() API is called on the Entry, it will 'write thru' to the underlying Map's value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CaseInsensitiveEntry(Map.Entry<K,V> entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K
getKey()
K
getOriginalKey()
V
setValue(V value)
-
Methods inherited from class java.util.AbstractMap.SimpleEntry
equals, getValue, hashCode, toString
-
-