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 topublic static class ConverterCollections.ConverterEntry<FK,TK,FV,TV> extends ConverterCollections.AbstractConverterEntry<FK,TK,FV,TV>
Modifier and Type | Field and Description |
---|---|
protected Converter<FK,TK> |
m_convKeyUp
The Converter used to view the Entry's key.
|
protected Converter<TV,FV> |
m_convValDown
The Converter used to store the Entry's value.
|
protected Converter<FV,TV> |
m_convValUp
The Converter used to view the Entry's value.
|
m_entry, m_oKeyUp, m_oValueUp
Constructor and Description |
---|
ConverterEntry(Map.Entry<FK,FV> entry,
Converter<FK,TK> convKeyUp,
Converter<FV,TV> convValUp,
Converter<TV,FV> convValDown)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Converter<FK,TK> |
getConverterKeyUp()
Return the Converter to view the underlying Entry's key through.
|
protected Converter<TV,FV> |
getConverterValueDown()
Return the Converter used to change value in the underlying Entry.
|
protected Converter<FV,TV> |
getConverterValueUp()
Return the Converter to view the underlying Entry's value through.
|
equals, getEntry, getKey, getValue, hashCode, setValue, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
protected final Converter<FK,TK> m_convKeyUp
protected final Converter<FV,TV> m_convValUp
public ConverterEntry(Map.Entry<FK,FV> entry, Converter<FK,TK> convKeyUp, Converter<FV,TV> convValUp, Converter<TV,FV> convValDown)
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 Entryprotected Converter<FK,TK> getConverterKeyUp()
getConverterKeyUp
in class ConverterCollections.AbstractConverterEntry<FK,TK,FV,TV>
protected Converter<FV,TV> getConverterValueUp()
getConverterValueUp
in class ConverterCollections.AbstractConverterEntry<FK,TK,FV,TV>
protected Converter<TV,FV> getConverterValueDown()
getConverterValueDown
in class ConverterCollections.AbstractConverterEntry<FK,TK,FV,TV>