org.bolson
Class SplayMap.SMNode

java.lang.Object
  extended by 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

Field Summary
 SplayMap.SMNode greater
           
 java.lang.Object key
           
 SplayMap.SMNode less
           
 SplayMap.SMNode parent
           
 java.lang.Object value
           
 
Constructor Summary
SplayMap.SMNode(java.lang.Object key, java.lang.Object value)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Object getKey()
           
 java.lang.Object getValue()
           
 int hashCode()
           
 java.lang.Object setValue(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

SplayMap.SMNode

public SplayMap.SMNode(java.lang.Object key,
                       java.lang.Object value)
Method Detail

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