Package generic.stl
Class RedBlackNode<K,V>
- java.lang.Object
-
- generic.stl.RedBlackNode<K,V>
-
public class RedBlackNode<K,V> extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K
getKey()
RedBlackNode<K,V>
getPredecessor()
RedBlackNode<K,V>
getSuccessor()
V
getValue()
void
setValue(V value)
java.lang.String
toString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getValue
public V getValue()
-
setValue
public void setValue(V value)
-
getKey
public K getKey()
-
getSuccessor
public RedBlackNode<K,V> getSuccessor()
-
getPredecessor
public RedBlackNode<K,V> getPredecessor()
-
-