protected static class HopCount.NodeQueue
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap |
nodeMap |
Constructor and Description |
---|
NodeQueue()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addToQueue(HopCount.DocumentNode node)
Queue a document node.
|
HopCount.DocumentNode |
nextNode()
Fetch the next object off the queue for processing.
|
HopCount.DocumentNode[] |
nextNodes()
Fetch ALL of the nodes off the queue in one step.
|
void |
removeFromQueue(HopCount.DocumentNode node)
Remove a node from the queue.
|
public void addToQueue(HopCount.DocumentNode node)
public void removeFromQueue(HopCount.DocumentNode node)
public HopCount.DocumentNode nextNode()
public HopCount.DocumentNode[] nextNodes()