V - Vertex typeE - Edge typepublic class TopologicalOrderIterator<V,E extends DefaultEdge> extends Object implements Iterator<V>
| Constructor and Description |
|---|
TopologicalOrderIterator(DirectedGraph<V,E> graph) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
V |
next() |
static <V,E extends DefaultEdge> |
of(DirectedGraph<V,E> graph) |
void |
remove() |
public TopologicalOrderIterator(DirectedGraph<V,E> graph)
public static <V,E extends DefaultEdge> Iterable<V> of(DirectedGraph<V,E> graph)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.