Package com.sun.tools.xjc.reader.gbind
Class Graph
- java.lang.Object
-
- com.sun.tools.xjc.reader.gbind.Graph
-
- All Implemented Interfaces:
java.lang.Iterable<ConnectedComponent>
public final class Graph extends java.lang.Object implements java.lang.Iterable<ConnectedComponent>
Graph ofElement
s.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description Graph(Expression body)
Builds aGraph
from anExpression
tree.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<ConnectedComponent>
iterator()
List upConnectedComponent
s of this graph in an order.java.lang.String
toString()
-
-
-
Constructor Detail
-
Graph
public Graph(Expression body)
Builds aGraph
from anExpression
tree.Expression
given to the graph will be modified forever, and it will not be able to create anotherGraph
.
-
-
Method Detail
-
iterator
public java.util.Iterator<ConnectedComponent> iterator()
List upConnectedComponent
s of this graph in an order.- Specified by:
iterator
in interfacejava.lang.Iterable<ConnectedComponent>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-