|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object structure.RedBlackTree
public class RedBlackTree
Field Summary | |
---|---|
static RedBlackTree |
EMPTY
|
Constructor Summary | |
---|---|
RedBlackTree(Comparable v)
|
Method Summary | |
---|---|
RedBlackTree |
add(Comparable c)
|
boolean |
consistency()
|
boolean |
contains(Comparable c)
|
Comparable |
get(Comparable c)
|
int |
hashCode()
|
boolean |
isEmpty()
|
void |
print()
|
void |
redFixup()
|
RedBlackTree |
remove(Comparable c)
|
String |
toString()
|
boolean |
wellConnected(RedBlackTree expectedParent)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final RedBlackTree EMPTY
Constructor Detail |
---|
public RedBlackTree(Comparable v)
Method Detail |
---|
public boolean isEmpty()
public RedBlackTree add(Comparable c)
public void redFixup()
public RedBlackTree remove(Comparable c)
public boolean contains(Comparable c)
public Comparable get(Comparable c)
public boolean consistency()
public boolean wellConnected(RedBlackTree expectedParent)
public void print()
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |