public final class ConstantGenerator<E>
extends java.lang.Object
implements java.lang.Iterable<E>
Iterable which iterates the same value over and over again.| Constructor and Description |
|---|
ConstantGenerator(E value) |
ConstantGenerator(Single<E> value) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<E> |
iterator() |