|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.databene.benerator.util.GeneratorIterator<E>
public class GeneratorIterator<E>
Wraps a Generator
with an Iterator
interface.
Created at 21.07.2009 10:09:55
Constructor Summary | |
---|---|
GeneratorIterator(Generator<E> source)
|
Method Summary | |
---|---|
void |
close()
|
protected E |
fetchNext(Generator<E> source)
|
boolean |
hasNext()
|
E |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeneratorIterator(Generator<E> source)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<E>
public E next()
next
in interface java.util.Iterator<E>
public void remove()
remove
in interface java.util.Iterator<E>
public void close()
close
in interface java.io.Closeable
protected E fetchNext(Generator<E> source)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |