public abstract class BaseLazySimpleReact extends BaseSimpleReact
Constructor and Description |
---|
BaseLazySimpleReact() |
Modifier and Type | Method and Description |
---|---|
<U> SimpleReactStream<U> |
iterateInfinitely(U seed,
java.util.function.UnaryOperator<U> f)
Iterate infinitely using the supplied seed and function
|
<U> SimpleReactStream<U> |
reactInfinitely(java.util.function.Supplier<U> s)
Generate an infinite reactive flow.
|
<U> SimpleReactStream<U> |
reactInfinitelyAsync(java.util.function.Supplier<U> s)
Generate an infinite reactive flow.
|
construct, fromStream, getExecutor, getRetrier, isAsync, of, of, of, of, of, of, of, ofIterable, range, react, react, react, react, reactI, reactIterable
public <U> SimpleReactStream<U> reactInfinitely(java.util.function.Supplier<U> s)
s
- Supplier to generate the infinite flowSimpleReact Queue for a way to create a more managable infinit flow
public <U> SimpleReactStream<U> reactInfinitelyAsync(java.util.function.Supplier<U> s)
s
- Supplier to generate the infinite flowSimpleReact Queue for a way to create a more managable infinit flow
public <U> SimpleReactStream<U> iterateInfinitely(U seed, java.util.function.UnaryOperator<U> f)
seed
- Initial valuef
- Function that performs the iteration