public abstract class GraphNodeEnumerator extends Object implements Enumeration<GraphNode>
Modifier and Type | Class and Description |
---|---|
private static class |
GraphNodeEnumerator.Enum |
private static class |
GraphNodeEnumerator.Iter |
Constructor and Description |
---|
GraphNodeEnumerator() |
Modifier and Type | Method and Description |
---|---|
static GraphNodeEnumerator |
create(Enumeration<GraphNode> e) |
static GraphNodeEnumerator |
create(Iterable<GraphNode> i) |
static GraphNodeEnumerator |
create(Iterator<GraphNode> i) |
abstract GraphNode |
nextElement() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasMoreElements
public GraphNodeEnumerator()
public abstract GraphNode nextElement()
nextElement
in interface Enumeration<GraphNode>
public static GraphNodeEnumerator create(Enumeration<GraphNode> e)
public static GraphNodeEnumerator create(Iterator<GraphNode> i)
public static GraphNodeEnumerator create(Iterable<GraphNode> i)