|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tangosol.util.Base
com.tangosol.util.ConverterCollections.AbstractConverterEntry
protected abstract static class ConverterCollections.AbstractConverterEntry
An abstract Map Entry that lazily converts the key and value.
Field Summary | |
---|---|
protected Map.Entry |
m_entry
The underlying entry. |
protected Object |
m_oKeyUp
Cached converted key. |
protected Object |
m_oValueUp
Cached converted value. |
Constructor Summary | |
---|---|
protected |
ConverterCollections.AbstractConverterEntry(Map.Entry entry)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compares the specified object with this entry for equality. |
Object |
getKey()
Returns the key corresponding to this entry. |
protected abstract Converter |
getKeyUpConv()
Return the Converter to view the underlying Entry's key through. |
Object |
getValue()
Returns the value corresponding to this entry. |
protected abstract Converter |
getValueDownConv()
Return the Converter used to change value in the underlying Entry. |
protected abstract Converter |
getValueUpConv()
Return the Converter to view the underlying Entry's value through. |
int |
hashCode()
Returns the hash code value for this map entry. |
Object |
setValue(Object value)
Replaces the value corresponding to this entry with the specified value. |
String |
toString()
Return a String description for this Entry. |
Field Detail |
---|
protected Map.Entry m_entry
protected transient Object m_oKeyUp
protected transient Object m_oValueUp
Constructor Detail |
---|
protected ConverterCollections.AbstractConverterEntry(Map.Entry entry)
entry
- the Entry to wrapMethod Detail |
---|
protected abstract Converter getKeyUpConv()
protected abstract Converter getValueUpConv()
protected abstract Converter getValueDownConv()
public Object getKey()
getKey
in interface Map.Entry
public Object getValue()
getValue
in interface Map.Entry
public Object setValue(Object value)
setValue
in interface Map.Entry
value
- new value to be stored in this entry
ClassCastException
- if the class of the
specified value prevents it from being
stored in the backing mappublic boolean equals(Object o)
equals
in interface Map.Entry
o
- object to be compared for equality with
this map entry
public int hashCode()
hashCode
in interface Map.Entry
public String toString()
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |