Package com.tangosol.util
Class ConverterCollections.ConverterEntry<FK,TK,FV,TV>
java.lang.Object
com.tangosol.util.ConverterCollections.AbstractConverterEntry<FK,TK,FV,TV>
com.tangosol.util.ConverterCollections.ConverterEntry<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.ConverterCacheEntry
- Enclosing class:
ConverterCollections
public static class ConverterCollections.ConverterEntry<FK,TK,FV,TV>
extends ConverterCollections.AbstractConverterEntry<FK,TK,FV,TV>
A Map Entry that lazily converts the key and value.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionThe Converter used to view the Entry's key.The Converter used to store the Entry's value.The Converter used to view the Entry's value.Fields inherited from class com.tangosol.util.ConverterCollections.AbstractConverterEntry
m_entry, m_oKeyUp, m_oValueUp
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn 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.
-
Field Details
-
m_convKeyUp
The Converter used to view the Entry's key. -
m_convValUp
The Converter used to view the Entry's value. -
m_convValDown
The Converter used to store the Entry's value.
-
-
Constructor Details
-
ConverterEntry
public ConverterEntry(Map.Entry<FK, FV> entry, Converter<FK, TK> convKeyUp, Converter<FV, TV> convValUp, Converter<TV, FV> convValDown) Constructor.- Parameters:
entry
- the Entry to wrapconvKeyUp
- the Converter to view the underlying Entry's keys throughconvValUp
- the Converter to view the underlying Entry's values throughconvValDown
- the Converter to use to pass values down to the underlying Entry
-
-
Method Details
-
getConverterKeyUp
Return the Converter to view the underlying Entry's key through.- Specified by:
getConverterKeyUp
in classConverterCollections.AbstractConverterEntry<FK,
TK, FV, TV> - Returns:
- the Converter to view the underlying Entry's key through
-
getConverterValueUp
Return the Converter to view the underlying Entry's value through.- Specified by:
getConverterValueUp
in classConverterCollections.AbstractConverterEntry<FK,
TK, FV, TV> - Returns:
- the Converter to view the underlying Entry's value through
-
getConverterValueDown
Return the Converter used to change value in the underlying Entry.- Specified by:
getConverterValueDown
in classConverterCollections.AbstractConverterEntry<FK,
TK, FV, TV> - Returns:
- the Converter used to change value in the underlying Entry
-