|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.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_entryThe underlying entry. |
protected Object |
m_oKeyUpCached converted key. |
protected Object |
m_oValueUpCached 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. |
protected abstract Converter |
getConverterKeyUp()Return the Converter to view the underlying Entry's key through. |
protected abstract Converter |
getConverterValueDown()Return the Converter used to change value in the underlying Entry. |
protected abstract Converter |
getConverterValueUp()Return the Converter to view the underlying Entry's value through. |
Map.Entry |
getEntry()Return the underlying Map.Entry. |
Object |
getKey()Returns the key corresponding to this entry. |
Object |
getValue()Returns the value corresponding to this entry. |
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 wrap| Method Detail |
|---|
protected abstract Converter getConverterKeyUp()
protected abstract Converter getConverterValueUp()
protected abstract Converter getConverterValueDown()
public Object getKey()
getKey in interface Map.Entrypublic Object getValue()
getValue in interface Map.Entrypublic Object setValue(Object value)
setValue in interface Map.Entryvalue - new value to be stored in this entryClassCastException - if the class of the specified value prevents it from being stored in the backing mappublic boolean equals(Object o)
equals in interface Map.Entryo - object to be compared for equality with this map entrypublic int hashCode()
hashCode in interface Map.EntryObject.hashCode(), Object.equals(Object), Map.Entry.equals(Object)public String toString()
public Map.Entry getEntry()
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||