|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.princeton.cs.algs4.growingtree.demos.LLRBOperator<P>
edu.princeton.cs.algs4.growingtree.demos.LLRBDeletion<P>
public class LLRBDeletion<P extends RBNodeProperties>
| Constructor Summary | |
|---|---|
LLRBDeletion()
|
|
| Method Summary | |
|---|---|
IAlgorithmNode<P> |
delete(IAlgorithmNode<P> h,
IDeletingNode<P> key)
|
void |
doDelete(IAlgorithmNode<P> root,
IDeletingNode<P> node)
|
IAlgorithmNode<P> |
getPostDeletionValidNode(IAlgorithmNode<P> root,
IDeletingNode<P> node)
|
| Methods inherited from class edu.princeton.cs.algs4.growingtree.demos.LLRBOperator |
|---|
isRed |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LLRBDeletion()
| Method Detail |
|---|
public IAlgorithmNode<P> delete(IAlgorithmNode<P> h,
IDeletingNode<P> key)
public IAlgorithmNode<P> getPostDeletionValidNode(IAlgorithmNode<P> root,
IDeletingNode<P> node)
public void doDelete(IAlgorithmNode<P> root,
IDeletingNode<P> node)
doDelete in interface IDeleteOperator<P extends RBNodeProperties>root - The root of the treenode - Node to be deleted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||