net.sourceforge.combean.interfaces.graph.containers
Interface NodeQueue

Package class diagram package NodeQueue
All Superinterfaces:
FixedNodeCollection
All Known Implementing Classes:
ListAsNodeQueue

public interface NodeQueue
extends FixedNodeCollection

A FIFO-buffer for Nodes


Method Summary
 void clear()
          Remove all nodes from the queue
 Node dequeue()
          Remove a node from the top of the queue
 void enqueue(Node v)
          Add a node to the end of the queue
 
Methods inherited from interface net.sourceforge.combean.interfaces.graph.containers.FixedNodeCollection
isEmpty, iterator
 

Method Detail

enqueue

void enqueue(Node v)
Add a node to the end of the queue

Parameters:
v - the node to be added

dequeue

Node dequeue()
Remove a node from the top of the queue

Returns:
the node which has been removed from the top of the queue

clear

void clear()
Remove all nodes from the queue