|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.princeton.cs.algs4.growingtree.demos.BSTInsertion<P>
edu.princeton.cs.algs4.growingtree.demos.RankInsertion<P>
public class RankInsertion<P extends RankNodeProperties>
Constructor Summary | |
---|---|
RankInsertion()
|
Method Summary | |
---|---|
void |
doInsert(IInsertingNode<P> root,
INode<P> newNode)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RankInsertion()
Method Detail |
---|
public void doInsert(IInsertingNode<P> root, INode<P> newNode)
doInsert
in interface IInsertOperator<P extends RankNodeProperties>
doInsert
in class BSTInsertion<P extends RankNodeProperties>
root
- Root of the treenewNode
- Node to be inserted into the tree. Null when
inserting into an empty tree.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |