|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.princeton.cs.algs4.growingtree.demos.AVLOperator<P>
edu.princeton.cs.algs4.growingtree.demos.AVLInsertion<P>
public class AVLInsertion<P extends AVLNodeProperties>
Constructor Summary | |
---|---|
AVLInsertion()
|
|
AVLInsertion(int balFactor)
|
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 AVLInsertion()
public AVLInsertion(int balFactor)
Method Detail |
---|
public void doInsert(IInsertingNode<P> root, INode<P> newNode)
doInsert
in interface IInsertOperator<P extends AVLNodeProperties>
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 |