|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ozoneDB.OzoneObject
org.ozoneDB.collections._AbstractOzoneMap_AbstractOzoneNode
Constructor Summary | |
_AbstractOzoneMap_AbstractOzoneNode(java.lang.Object newKey,
java.lang.Object newValue)
Basic constructor initializes the fields. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Compares the specified object with this entry. |
java.lang.Object |
getKey()
Get the key corresponding to this entry. |
java.lang.Object |
getValue()
Get the value corresponding to this entry. |
int |
hashCode()
Returns the hash code of the entry. |
void |
setKey(java.lang.Object key)
|
java.lang.Object |
setValue(java.lang.Object newVal)
Replaces the value with the specified object. |
java.lang.String |
toString()
This provides a string representation of the entry. |
Methods inherited from class org.ozoneDB.OzoneObject |
container, database, deleteRecursive, getHandle, getObjectID, handle, onActivate, onCreate, onDelete, onPassivate, requireWriteLocking, self, setContainer, toXML |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ozoneDB.OzoneCompatibleOrProxy |
getObjectID |
Constructor Detail |
public _AbstractOzoneMap_AbstractOzoneNode(java.lang.Object newKey, java.lang.Object newValue)
newKey
- the keynewValue
- the valueMethod Detail |
public final boolean equals(java.lang.Object o)
equals
in interface java.util.Map.Entry
o
- the object to compare
true
if it is equalpublic final java.lang.Object getKey()
getKey
in interface java.util.Map.Entry
public final java.lang.Object getValue()
getValue
in interface java.util.Map.Entry
public final int hashCode()
(getKey() == null ? 0 : getKey().hashCode()) ^ (getValue() == null ? 0 : getValue().hashCode())
hashCode
in interface java.util.Map.Entry
public java.lang.Object setValue(java.lang.Object newVal)
setValue
in interface _AbstractOzoneMap_OzoneNode
newVal
- the new value to store
java.lang.NullPointerException
- if the map forbids null valuespublic final java.lang.String toString()
public void setKey(java.lang.Object key)
setKey
in interface _AbstractOzoneMap_OzoneNode
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |