|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-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.SimpleMapEntry
com.tangosol.util.AbstractKeyBasedMap.EntrySet.Entry
protected class AbstractKeyBasedMap.EntrySet.Entry
A Map Entry implementation that defers its value acquisition from the containing map (via Map.get(Object)) if the Entry is constructed with a null value.
| Field Summary |
|---|
| Fields inherited from class com.tangosol.util.SimpleMapEntry |
|---|
m_oKey, m_oOrigValue, m_oValue, NO_VALUE |
| Constructor Summary | |
|---|---|
AbstractKeyBasedMap.EntrySet.Entry(java.lang.Object oKey, java.lang.Object oValue)Construct an Entry. |
|
| Method Summary | |
|---|---|
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 oValue)Replaces the value corresponding to this entry with the specified value (optional operation). |
| Methods inherited from class com.tangosol.util.SimpleMapEntry |
|---|
clone, equals, extract, getKey, getOriginalValue, isOriginalPresent, isPresent, remove, setValue, toString, update |
| Constructor Detail |
|---|
public AbstractKeyBasedMap.EntrySet.Entry(java.lang.Object oKey,
java.lang.Object oValue)
oKey - the Entry keyoValue - the Entry value (optional)| Method Detail |
|---|
public java.lang.Object getValue()
getValue in interface InvocableMap.EntrygetValue in interface java.util.Map.EntrygetValue in class SimpleMapEntrypublic java.lang.Object setValue(java.lang.Object oValue)
setValue in interface InvocableMap.EntrysetValue in interface java.util.Map.EntrysetValue in class SimpleMapEntryoValue - new value to be stored in this entrypublic int hashCode()
(e.getKey()==null ? 0 : e.getKey().hashCode()) ^
(e.getValue()==null ? 0 : e.getValue().hashCode())
This ensures that e1.equals(e2) implies that e1.hashCode()==e2.hashCode() for any two Entries e1 and e2, as required by the general contract of Object.hashCode.hashCode in interface java.util.Map.EntryhashCode in class SimpleMapEntry
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||