T - the value typepublic final class GenerateIterable<T>
extends java.lang.Object
implements java.lang.Iterable<T>
| Constructor and Description |
|---|
GenerateIterable(T seed,
rx.functions.Func1<? super T,? extends T> next,
rx.functions.Func1<? super T,java.lang.Boolean> predicate)
Constructor, sets the fields.
|
public GenerateIterable(T seed, rx.functions.Func1<? super T,? extends T> next, rx.functions.Func1<? super T,java.lang.Boolean> predicate)
seed - the initial valuenext - the function to generate the next valuepredicate - function to test for termination