|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| 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 java.util.Map.Entry |
m_entry
The underlying entry. |
protected java.lang.Object |
m_oKeyUp
Cached converted key. |
protected java.lang.Object |
m_oValueUp
Cached converted value. |
| Constructor Summary | |
|---|---|
protected |
ConverterCollections.AbstractConverterEntry(java.util.Map.Entry entry)
Constructor. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.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. |
java.util.Map.Entry |
getEntry()
Return the underlying Map.Entry. |
java.lang.Object |
getKey()
Returns the key corresponding to this entry. |
java.lang.Object |
getValue()
Returns the value corresponding to this entry. |
int |
hashCode()
Returns the hash code value for this map entry. |
java.lang.Object |
setValue(java.lang.Object value)
Replaces the value corresponding to this entry with the specified value. |
java.lang.String |
toString()
Return a String description for this Entry. |
| Field Detail |
|---|
protected java.util.Map.Entry m_entry
protected transient java.lang.Object m_oKeyUp
protected transient java.lang.Object m_oValueUp
| Constructor Detail |
|---|
protected ConverterCollections.AbstractConverterEntry(java.util.Map.Entry entry)
entry - the Entry to wrap| Method Detail |
|---|
protected abstract Converter getConverterKeyUp()
protected abstract Converter getConverterValueUp()
protected abstract Converter getConverterValueDown()
public java.lang.Object getKey()
getKey in interface java.util.Map.Entrypublic java.lang.Object getValue()
getValue in interface java.util.Map.Entrypublic java.lang.Object setValue(java.lang.Object value)
setValue in interface java.util.Map.Entryvalue - new value to be stored in this entry
java.lang.ClassCastException - if the class of the
specified value prevents it from being
stored in the backing mappublic boolean equals(java.lang.Object o)
equals in interface java.util.Map.Entryo - object to be compared for equality with
this map entry
public int hashCode()
hashCode in interface java.util.Map.Entrypublic java.lang.String toString()
public java.util.Map.Entry getEntry()
|
Oracle® Coherence Java API Reference v3.5 E14977-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||