|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-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 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 wrapMethod Detail |
---|
protected abstract Converter getConverterKeyUp()
protected abstract Converter getConverterValueUp()
protected abstract Converter getConverterValueDown()
public java.lang.Object getKey()
getKey
in interface java.util.Map.Entry
public java.lang.Object getValue()
getValue
in interface java.util.Map.Entry
public java.lang.Object setValue(java.lang.Object value)
setValue
in interface java.util.Map.Entry
value
- new value to be stored in this entryjava.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.Entry
o
- object to be compared for equality with this map entrypublic int hashCode()
hashCode
in interface java.util.Map.Entry
Object.hashCode()
, Object.equals(Object)
, Map.Entry.equals(Object)
public java.lang.String toString()
public java.util.Map.Entry getEntry()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |