Package com.tangosol.util
Class ConverterCollections.AbstractConverterEntry<FK,TK,FV,TV>
java.lang.Object
com.tangosol.util.ConverterCollections.AbstractConverterEntry<FK,TK,FV,TV>
- Type Parameters:
FK
- the type of the keys in the underlying EntryTK
- the type that the keys should be converted toFV
- the type of the values in the underlying EntryTV
- the type that the values should be converted to
- All Implemented Interfaces:
Serializable
,Map.Entry<TK,
TV>
- Direct Known Subclasses:
ConverterCollections.ConverterEntry
,ConverterCollections.ConverterEntrySet.ConverterEntry
- Enclosing class:
ConverterCollections
protected abstract static class ConverterCollections.AbstractConverterEntry<FK,TK,FV,TV>
extends Object
implements Map.Entry<TK,TV>, Serializable
An abstract Map Entry that lazily converts the key and value.
- See Also:
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractConverterEntry
(Map.Entry<FK, FV> entry) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the Converter to view the underlying Entry's key through.Return the Converter used to change value in the underlying Entry.Return the Converter to view the underlying Entry's value through.getEntry()
Return the underlying Map.Entry.getKey()
getValue()
int
hashCode()
toString()
-
Field Details
-
m_entry
The underlying entry. -
m_oKeyUp
Cached converted key. -
m_oValueUp
Cached converted value.
-
-
Constructor Details
-
AbstractConverterEntry
Constructor.- Parameters:
entry
- the Entry to wrap
-
-
Method Details
-
getConverterKeyUp
Return the Converter to view the underlying Entry's key through.- Returns:
- the Converter to view the underlying Entry's key through
-
getConverterValueUp
Return the Converter to view the underlying Entry's value through.- Returns:
- the Converter to view the underlying Entry's value through
-
getConverterValueDown
Return the Converter used to change value in the underlying Entry.- Returns:
- the Converter used to change value in the underlying Entry
-
getKey
-
getValue
-
setValue
-
equals
-
hashCode
public int hashCode() -
toString
-
getEntry
Return the underlying Map.Entry.- Returns:
- the underlying Map.Entry
-