CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.util
Class ConverterCollections.ConverterEntry

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.ConverterCollections.AbstractConverterEntry
          extended by com.tangosol.util.ConverterCollections.ConverterEntry
All Implemented Interfaces:
Serializable, Map.Entry
Enclosing class:
ConverterCollections

public static class ConverterCollections.ConverterEntry
extends ConverterCollections.AbstractConverterEntry

A Map Entry that lazily converts the key and value.


Field Summary
protected  Converter m_convKeyUp
          The Converter used to view the Entry's key.
protected  Converter m_convValDown
          The Converter used to store the Entry's value.
protected  Converter m_convValUp
          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
ConverterCollections.ConverterEntry(Map.Entry entry, Converter convKeyUp, Converter convValUp, Converter convValDown)
          Constructor.
 
Method Summary
protected  Converter getKeyUpConv()
          Return the Converter to view the underlying Entry's key through.
protected  Converter getValueDownConv()
          Return the Converter used to change value in the underlying Entry.
protected  Converter getValueUpConv()
          Return the Converter to view the underlying Entry's value through.
 
Methods inherited from class com.tangosol.util.ConverterCollections.AbstractConverterEntry
equals, getKey, getValue, hashCode, setValue, toString
 

Field Detail

m_convKeyUp

protected Converter m_convKeyUp
The Converter used to view the Entry's key.


m_convValUp

protected Converter m_convValUp
The Converter used to view the Entry's value.


m_convValDown

protected Converter m_convValDown
The Converter used to store the Entry's value.

Constructor Detail

ConverterCollections.ConverterEntry

public ConverterCollections.ConverterEntry(Map.Entry entry,
                                           Converter convKeyUp,
                                           Converter convValUp,
                                           Converter convValDown)
Constructor.

Parameters:
entry - the Entry to wrap
convKeyUp - the Converter to view the underlying Entry's keys through
convValUp - the Converter to view the underlying Entry's values through
convValDown - the Converter to use to pass values down to the underlying Entry
Method Detail

getKeyUpConv

protected Converter getKeyUpConv()
Return the Converter to view the underlying Entry's key through.

Specified by:
getKeyUpConv in class ConverterCollections.AbstractConverterEntry
Returns:
the Converter to view the underlying Entry's key through

getValueUpConv

protected Converter getValueUpConv()
Return the Converter to view the underlying Entry's value through.

Specified by:
getValueUpConv in class ConverterCollections.AbstractConverterEntry
Returns:
the Converter to view the underlying Entry's value through

getValueDownConv

protected Converter getValueDownConv()
Return the Converter used to change value in the underlying Entry.

Specified by:
getValueDownConv in class ConverterCollections.AbstractConverterEntry
Returns:
the Converter used to change value in the underlying Entry

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation