@NotStorableClass public class HeapFreeNodeManager extends AbstractHeapNodeManager<Integer>
heapElementManager, logger
Constructor and Description |
---|
HeapFreeNodeManager(IHeapElementManager heapElementManager) |
Modifier and Type | Method and Description |
---|---|
protected IRBTNode<Integer> |
getRootNode(HeapHeader heapHeader)
the get root node implementation
|
IRBTNode<Integer> |
newSentinel()
to get a new sentinel
|
protected void |
setRootNode(HeapHeader heapHeader,
IRBTNode<Integer> heapFreeRootNode) |
getRootNode, setRootNode
public HeapFreeNodeManager(IHeapElementManager heapElementManager)
protected void setRootNode(HeapHeader heapHeader, IRBTNode<Integer> heapFreeRootNode) throws RBTException
setRootNode
in class AbstractHeapNodeManager<Integer>
RBTException
protected IRBTNode<Integer> getRootNode(HeapHeader heapHeader) throws HeapException
AbstractHeapNodeManager
getRootNode
in class AbstractHeapNodeManager<Integer>
heapHeader
- where look for the root nodeHeapException
public IRBTNode<Integer> newSentinel()
IRBTNodeManager
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.