Class Path<E extends Element>

java.lang.Object
java.util.AbstractCollection<E>
java.util.ArrayDeque<E>
org.graphwalker.core.model.Path<E>
All Implemented Interfaces:
Serializable, Cloneable, Iterable<E>, Collection<E>, Deque<E>, Queue<E>, SequencedCollection<E>

public class Path<E extends Element> extends ArrayDeque<E>

Path

The Path is a sequence vertices and edges.

When a test is generated by GraphWalker, it will be a sequence of vertices and edges. The Path keeps track of the generated sequence.
Author:
Nils Olsson
See Also:
  • Constructor Details

    • Path

      public Path()
    • Path

      public Path(Collection<E> collection)