net.datastructures
Class RBTree.RBNode
java.lang.Object
net.datastructures.BTNode
net.datastructures.RBTree.RBNode
- All Implemented Interfaces:
- BTPosition, Position
- Enclosing class:
- RBTree
- protected static class RBTree.RBNode
- extends BTNode
Nested class for the nodes of a red-black tree
Field Summary |
protected boolean |
isRed
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isRed
protected boolean isRed
isRed
public boolean isRed()
makeRed
public void makeRed()
makeBlack
public void makeBlack()
setColor
public void setColor(boolean color)