|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.xjc.reader.gbind.ConnectedComponent
public final class ConnectedComponent
Represents one strongly-connected component
of the Element
graph.
Field Summary | |
---|---|
(package private) boolean |
isRequired
|
Constructor Summary | |
---|---|
ConnectedComponent()
|
Method Summary | |
---|---|
(package private) void |
add(Element e)
|
boolean |
isCollection()
Returns true iff this ConnectedComponent
can match a substring whose length is greater than 1. |
boolean |
isRequired()
Returns true iff this ConnectedComponent
forms a cut set of a graph. |
Iterator<Element> |
iterator()
|
String |
toString()
Just produces debug representation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
boolean isRequired
Constructor Detail |
---|
public ConnectedComponent()
Method Detail |
---|
public final boolean isCollection()
ConnectedComponent
can match a substring whose length is greater than 1.
That means this property will become a collection property.
public final boolean isRequired()
ConnectedComponent
forms a cut set of a graph.
That means any valid element sequence must have at least one value for this property.
void add(Element e)
public Iterator<Element> iterator()
iterator
in interface Iterable<Element>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |