|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectnet.sourceforge.combean.samples.simplegraphs.NumberNodeIterator
public class NumberNodeIterator
An iterator through a sequence of NumberNodes with consecutive numbers.
| Constructor Summary | |
|---|---|
NumberNodeIterator(int from,
int to)
Generate an iterator through a consecutive range of numbered nodes |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
Check if further nodes exist for this iteration. |
Node |
next()
Switch to the next node in the iteration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NumberNodeIterator(int from,
int to)
from - to - | Method Detail |
|---|
public boolean hasNext()
NodeIterator
hasNext in interface NodeIteratorNodeIterator.hasNext()public Node next()
NodeIterator
next in interface NodeIteratorNodeIterator.next()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||