public final class Graph extends Object implements Iterable<ConnectedComponent>
Element
s.Constructor and Description |
---|
Graph(Expression body)
Builds a
Graph from an Expression tree. |
Modifier and Type | Method and Description |
---|---|
Iterator<ConnectedComponent> |
iterator()
List up
ConnectedComponent s of this graph in an order. |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public Graph(Expression body)
Graph
from an Expression
tree.
Expression
given to the graph will be modified forever,
and it will not be able to create another Graph
.public Iterator<ConnectedComponent> iterator()
ConnectedComponent
s of this graph in an order.iterator
in interface Iterable<ConnectedComponent>
Copyright © 2019 JBoss by Red Hat. All rights reserved.