Class ConnectedComponent

  • All Implemented Interfaces:
    Iterable<Element>

    public final class ConnectedComponent
    extends Object
    implements Iterable<Element>
    Represents one strongly-connected component of the Element graph.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • ConnectedComponent

        public ConnectedComponent()
        Default constructor.
    • Method Detail

      • isCollection

        public boolean isCollection()
        Returns true iff this can match a substring whose length is greater than 1.

        That means this property will become a collection property.

      • isRequired

        public boolean isRequired()
        Returns true iff this forms a cut set of a graph.

        That means any valid element sequence must have at least one value for this property.

      • toString

        public String toString()
        Just produces debug representation
        Overrides:
        toString in class Object