public class PatternSequence extends PatternElement
| Constructor and Description |
|---|
PatternSequence(PatternElement[] elems)
creates a PatternSequence from an array of PatternElements
|
PatternSequence(Vector elems)
creates a PatternSequence from a Vector of PatternElements
|
| Modifier and Type | Method and Description |
|---|---|
PatternGraph |
toGraph(Id id)
converts the PatternSequence to a graph representation.
|
String |
toString()
returns a printable representation of the PatternSequence, consisting
of the constituent PatternElements, separated by spaces.
|
public PatternSequence(PatternElement[] elems)
public PatternSequence(Vector elems)
public String toString()
toString in class PatternElementpublic PatternGraph toGraph(Id id)
toGraph in class PatternElementCopyright © 2016 New York University. All rights reserved.