|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object prefuse.data.util.NeighborIterator
public class NeighborIterator
Iterator over neighbors of a given Node. Resolves Edge instances to provide direct iteration over the Node instances.
Constructor Summary | |
---|---|
NeighborIterator(Node n,
java.util.Iterator edges)
Create a new NeighborIterator. |
Method Summary | |
---|---|
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NeighborIterator(Node n, java.util.Iterator edges)
n
- the source nodeedges
- the node edges to iterate overMethod Detail |
---|
public void remove()
remove
in interface java.util.Iterator
Iterator.remove()
public boolean hasNext()
hasNext
in interface java.util.Iterator
Iterator.hasNext()
public java.lang.Object next()
next
in interface java.util.Iterator
Iterator.next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |