/** * @return A Stream that repeats the value stored in this Value over and over */ default ReactiveSeq<T> generate(T alt) { return asSupplier(alt).generate(); } }
/** * Use the value stored in this Value to seed a Stream generated from the provided function * * @param fn Function to generate a Stream * @return Stream generated from a seed value (the Value stored in this Value) and the provided function */ default ReactiveSeq<T> iterate(final UnaryOperator<T> fn,T alt) { return asSupplier(alt).iterate(fn); }
/** * Use the value stored in this Value to seed a Stream generated from the provided function * * @param fn Function to generate a Stream * @return Stream generated from a seed value (the Value stored in this Value) and the provided function */ default ReactiveSeq<T> iterate(final UnaryOperator<T> fn,T alt) { return asSupplier(alt).iterate(fn); }
/** * @return A Stream that repeats the value stored in this Value over and over */ default ReactiveSeq<T> generate(T alt) { return asSupplier(alt).generate(); } }