Class DepthFirstSearch<E>

java.lang.Object
org.apache.cayenne.ashwood.graph.DepthFirstSearch<E>
All Implemented Interfaces:
Iterator<E>
Direct Known Subclasses:
DepthFirstStampSearch

public class DepthFirstSearch<E> extends Object implements Iterator<E>
Since:
3.1
  • Field Details

  • Constructor Details

    • DepthFirstSearch

      public DepthFirstSearch(DigraphIteration<E,?> factory, E firstVertex)
  • Method Details

    • reset

      public void reset(E newFirstVertex)
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<E>
    • next

      public E next()
      Specified by:
      next in interface Iterator<E>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<E>