|
||||||||||
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.SplayOperators.SplayInsertion<P>
public class SplayOperators.SplayInsertion<P extends NodeProperties>
Constructor Summary | |
---|---|
SplayOperators.SplayInsertion()
|
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 SplayOperators.SplayInsertion()
Method Detail |
---|
public void doInsert(IInsertingNode<P> root, INode<P> newNode)
doInsert
in interface IInsertOperator<P extends NodeProperties>
doInsert
in class BSTInsertion<P extends NodeProperties>
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 |