org.bolson
Class SplayMap.SMNode
java.lang.Object
org.bolson.SplayMap.SMNode
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map.Entry
- Enclosing class:
- SplayMap
protected static class SplayMap.SMNode
- extends java.lang.Object
- implements java.util.Map.Entry, java.io.Serializable, java.lang.Cloneable
- See Also:
- Serialized Form
Constructor Summary |
SplayMap.SMNode(java.lang.Object key,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
key
public java.lang.Object key
value
public java.lang.Object value
less
public SplayMap.SMNode less
greater
public SplayMap.SMNode greater
parent
public SplayMap.SMNode parent
SplayMap.SMNode
public SplayMap.SMNode(java.lang.Object key,
java.lang.Object value)
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interface java.util.Map.Entry
- Overrides:
equals
in class java.lang.Object
getKey
public java.lang.Object getKey()
- Specified by:
getKey
in interface java.util.Map.Entry
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface java.util.Map.Entry
setValue
public java.lang.Object setValue(java.lang.Object o)
- Specified by:
setValue
in interface java.util.Map.Entry
hashCode
public int hashCode()
- Specified by:
hashCode
in interface java.util.Map.Entry
- Overrides:
hashCode
in class java.lang.Object