Package com.sun.tools.xjc.reader.gbind
Class Graph
- java.lang.Object
-
- com.sun.tools.xjc.reader.gbind.Graph
-
- All Implemented Interfaces:
Iterable<ConnectedComponent>
public final class Graph extends Object implements Iterable<ConnectedComponent>
Graph ofElements.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description Graph(Expression body)Builds aGraphfrom anExpressiontree.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<ConnectedComponent>iterator()List upConnectedComponents of this graph in an order.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
Graph
public Graph(Expression body)
Builds aGraphfrom anExpressiontree.Expressiongiven to the graph will be modified forever, and it will not be able to create anotherGraph.
-
-
Method Detail
-
iterator
public Iterator<ConnectedComponent> iterator()
List upConnectedComponents of this graph in an order.- Specified by:
iteratorin interfaceIterable<ConnectedComponent>
-
-