|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ericaro.neoitertools.generators.ChainGenerator<T>
public class ChainGenerator<T>
A generator that returns elements from the first generators until it is exhausted, then proceeds to the next generator, until all of the generators are exhausted.
| Constructor Summary | |
|---|---|
ChainGenerator(Generator<Generator<T>> iterators)
chain together a sequence of sequences. |
|
| Method Summary | |
|---|---|
T |
next()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChainGenerator(Generator<Generator<T>> iterators)
iterators - | Method Detail |
|---|
public T next()
next in interface Generator<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||