@StoreNotUseStandardSerialization @StorableClass public class RBTNodeManager<E> extends Object implements IRBTNodeManager<E>, Serializable
Constructor and Description |
---|
RBTNodeManager() |
RBTNodeManager(IInstanceFactory instanceFactory) |
Modifier and Type | Method and Description |
---|---|
IRBTNode<E> |
getRootNode() |
static RBTNodeManager |
newInstance(IInstanceFactory instanceFactory) |
IRBTNode<E> |
newSentinel()
to get a new sentinel
|
void |
setRootNode(IRBTNode<E> rootNode)
set the root red black tree node
|
public RBTNodeManager()
public RBTNodeManager(IInstanceFactory instanceFactory)
public static RBTNodeManager newInstance(IInstanceFactory instanceFactory)
public IRBTNode<E> getRootNode()
getRootNode
in interface IRBTNodeManager<E>
public void setRootNode(IRBTNode<E> rootNode)
IRBTNodeManager
setRootNode
in interface IRBTNodeManager<E>
rootNode
- the root red black tree nodepublic IRBTNode<E> newSentinel()
IRBTNodeManager
newSentinel
in interface IRBTNodeManager<E>
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.