public class DepthFirstSearch<E> extends Object implements Iterator<E>
| Modifier and Type | Field and Description |
|---|---|
protected DigraphIteration<E,?> |
factory |
protected E |
firstVertex |
protected Set<E> |
seen |
protected org.apache.commons.collections.ArrayStack |
stack |
| Constructor and Description |
|---|
DepthFirstSearch(DigraphIteration<E,?> factory,
E firstVertex) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
E |
next() |
void |
remove() |
void |
reset(E newFirstVertex) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected DigraphIteration<E,?> factory
protected E firstVertex
protected org.apache.commons.collections.ArrayStack stack
public DepthFirstSearch(DigraphIteration<E,?> factory, E firstVertex)
Copyright © 2001–2023 Apache Cayenne. All rights reserved.