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:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractConverterEntry(Map.Entry<FK,FV> entry)
Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
protected abstract Converter<FK,TK>
getConverterKeyUp()
Return the Converter to view the underlying Entry's key through.protected abstract Converter<TV,FV>
getConverterValueDown()
Return the Converter used to change value in the underlying Entry.protected abstract Converter<FV,TV>
getConverterValueUp()
Return the Converter to view the underlying Entry's value through.Map.Entry<FK,FV>
getEntry()
Return the underlying Map.Entry.TK
getKey()
TV
getValue()
int
hashCode()
TV
setValue(TV value)
String
toString()
-
-
-
Method Detail
-
getConverterKeyUp
protected abstract Converter<FK,TK> getConverterKeyUp()
Return the Converter to view the underlying Entry's key through.- Returns:
- the Converter to view the underlying Entry's key through
-
getConverterValueUp
protected abstract Converter<FV,TV> getConverterValueUp()
Return the Converter to view the underlying Entry's value through.- Returns:
- the Converter to view the underlying Entry's value through
-
getConverterValueDown
protected abstract Converter<TV,FV> getConverterValueDown()
Return the Converter used to change value in the underlying Entry.- Returns:
- the Converter used to change value in the underlying Entry
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
-