public class SequentialIterator<T> extends java.lang.Object implements ReactIterator<T>
| Constructor and Description |
|---|
SequentialIterator(T seed) |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<java.util.concurrent.CompletableFuture<T>> |
iterate(java.util.function.Function<T,T> f) |
ReactIterator<T> |
offset(int offset) |
ReactIterator<T> |
times(int times) |
public SequentialIterator(T seed)
public java.util.stream.Stream<java.util.concurrent.CompletableFuture<T>> iterate(java.util.function.Function<T,T> f)
iterate in interface ReactIterator<T>public ReactIterator<T> times(int times)
times in interface ReactIterator<T>public ReactIterator<T> offset(int offset)
offset in interface ReactIterator<T>