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

Package class diagram package FixedNodeCollection
All Known Subinterfaces:
FixedNodeSet, NodeQueue, NodeSet, NodeStack
All Known Implementing Classes:
ListAsNodeQueue, NodeNumberingAsNodeSet, SetAsNodeSet, StackAsNodeStack

public interface FixedNodeCollection

A immutable collection of Nodes (similar to a java.util.Collection.


Method Summary
 boolean isEmpty()
          Check if the collection contains any elements.
 NodeIterator iterator()
          Return an iterator through all nodes in the collection.
 

Method Detail

iterator

NodeIterator iterator()
Return an iterator through all nodes in the collection.

Returns:
iterator

isEmpty

boolean isEmpty()
Check if the collection contains any elements.

Returns:
true if empty.