public class Path
extends java.lang.Object
| Constructor and Description |
|---|
Path(java.util.List<Arc> arcs)
Initializes a new path with the given list of arcs.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Arc> |
getArcs()
Returns the arcs that make up this path.
|
java.util.List<java.lang.String> |
getLabels()
Returns a list of labels corresponding to this path's arcs.
|
State |
getTarget()
Returns the last state of this path.
|
java.lang.String |
toString() |
public Path(java.util.List<Arc> arcs)
public java.util.List<Arc> getArcs()
public java.util.List<java.lang.String> getLabels()
public State getTarget()
public java.lang.String toString()
toString in class java.lang.Object