|
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.RestrictedCollections.RestrictedEntrySet.RestrictedEntry
protected class RestrictedCollections.RestrictedEntrySet.RestrictedEntry
A Map Entry that restricts the key and value types.
Field Summary | |
---|---|
protected java.util.Map.Entry |
m_entry |
Constructor Summary | |
---|---|
RestrictedCollections.RestrictedEntrySet.RestrictedEntry(java.util.Map.Entry entry) Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o) Compares the specified object with this entry for equality. |
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
Constructor Detail |
---|
public RestrictedCollections.RestrictedEntrySet.RestrictedEntry(java.util.Map.Entry entry)
entry
- the Entry to wrapMethod Detail |
---|
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()
|
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 |