public class SimpleTreeOp<E> extends Object
| Constructor and Description |
|---|
SimpleTreeOp(IInstanceFactory instanceFactory) |
| Modifier and Type | Method and Description |
|---|---|
IRBTNode<E> |
getRootNode() |
static SimpleTreeOp |
newInstance(IInstanceFactory instanceFactory) |
void |
rotateLeft() |
void |
rotateRight() |
void |
setRootNode(IRBTNode<E> rootNode) |
public SimpleTreeOp(IInstanceFactory instanceFactory)
public static SimpleTreeOp newInstance(IInstanceFactory instanceFactory)
public void rotateRight()
throws RBTException
RBTExceptionpublic void rotateLeft()
throws RBTException
RBTExceptionCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.