|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
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.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 entry
ClassCastException
- 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 entry
public int hashCode()
hashCode
in interface Map.Entry
public String toString()
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |