net.datastructures
Class RBTreeMap.RBNode<K,V>
java.lang.Object
net.datastructures.BTNode<Entry<K,V>>
net.datastructures.RBTreeMap.RBNode<K,V>
- All Implemented Interfaces:
- BTPosition<Entry<K,V>>, Position<Entry<K,V>>
- Enclosing class:
- RBTreeMap<K,V>
protected static class RBTreeMap.RBNode<K,V>
- extends BTNode<Entry<K,V>>
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)