public class GraphStructureIterator extends Object implements Iterator
Iterator over the nodes and edges of a
Graph ordered such that the endpoints of a
Graph.Edge are always seen before the edge
itself. This Iterator may be used to build
a Graph with the same structure as some
specified Graph, even if it has edges which
point to other edges.| Constructor and Description |
|---|
GraphStructureIterator(Graph graph)
Creates a new
GraphStructureIterator. |
public GraphStructureIterator(Graph graph)
GraphStructureIterator.public void remove()
UnsupportedOperationException.public boolean isNode()
next() is a node in the Graph.public boolean isEdge()
See the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.