|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.e4graph.VertexIterator
| Constructor Summary | |
VertexIterator(com.e4graph.Node n)
Constructor that creates an iterator that visits every vertex in this node. |
|
VertexIterator(com.e4graph.Node n,
int type)
Constructor that creates an iterator that visits only vertices with the given type, in the given node. |
|
VertexIterator(com.e4graph.Node n,
java.lang.String name)
Constructor that creates an iterator that visits only vertices with the given name, in the given node. |
|
VertexIterator(com.e4graph.Node n,
java.lang.String name,
int type)
Constructor that creates an iterator that visits only vertices with the given name and type, in the given node. |
|
| Method Summary | |
boolean |
hasNext()
Does this iterator have a next element? |
java.lang.Object |
next()
Get the next element of the iteration. |
void |
remove()
Remove method -- always throws UnsupportedOperationException. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VertexIterator(com.e4graph.Node n)
public VertexIterator(com.e4graph.Node n,
int type)
public VertexIterator(com.e4graph.Node n,
java.lang.String name)
public VertexIterator(com.e4graph.Node n,
java.lang.String name,
int type)
| Method Detail |
public void remove()
throws java.lang.UnsupportedOperationException
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationExceptionpublic boolean hasNext()
hasNext in interface java.util.Iterator
public java.lang.Object next()
throws java.util.NoSuchElementException
next in interface java.util.Iteratorjava.util.NoSuchElementException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||