Package | Description |
---|---|
com.annimon.stream |
Modifier and Type | Method and Description |
---|---|
static IntStream |
IntStream.iterate(int seed,
IntPredicate predicate,
IntUnaryOperator op)
Creates an
IntStream by iterative application IntUnaryOperator function
to an initial element seed , conditioned on satisfying the supplied predicate. |
static IntStream |
IntStream.iterate(int seed,
IntUnaryOperator f)
Returns an infinite sequential ordered
IntStream produced by iterative
application of a function f to an initial element seed ,
producing a Stream consisting of seed , f(seed) ,
f(f(seed)) , etc. |
IntStream |
IntStream.map(IntUnaryOperator mapper)
Returns an
IntStream consisting of the results of applying the given
function to the elements of this stream. |