|
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.RestrictedCollections.RestrictedEntrySet.RestrictedEntry
protected class RestrictedCollections.RestrictedEntrySet.RestrictedEntry
A Map Entry that restricts the key and value types.
Field Summary | |
---|---|
protected Map.Entry |
m_entry |
Constructor Summary | |
---|---|
RestrictedCollections.RestrictedEntrySet.RestrictedEntry(Map.Entry entry) Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object o) Compares the specified object with this entry for equality. |
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
Constructor Detail |
---|
public RestrictedCollections.RestrictedEntrySet.RestrictedEntry(Map.Entry entry)
entry
- the Entry to wrapMethod Detail |
---|
public Object getKey()
getKey
in interface Map.Entry
public Object getValue()
getValue
in interface Map.Entry
public Object setValue(Object value)
setValue
in interface Map.Entry
value
- 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.Entry
o
- object to be compared for equality with this map entrypublic int hashCode()
hashCode
in interface Map.Entry
Object.hashCode()
, Object.equals(Object)
, Map.Entry.equals(Object)
public String toString()
|
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 |