| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function | |
| com.annimon.stream.operator |
| 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. |
OptionalInt |
OptionalInt.map(IntUnaryOperator mapper)
Invokes mapping function on inner value if present.
|
IntStream |
IntStream.map(IntUnaryOperator mapper)
Returns an
IntStream consisting of the results of applying the given
function to the elements of this stream. |
| Modifier and Type | Method and Description |
|---|---|
static IntUnaryOperator |
IntUnaryOperator.Util.identity()
Returns a unary operator that always returns its input argument.
|
| Constructor and Description |
|---|
IntIterate(int seed,
IntUnaryOperator f) |
IntMap(PrimitiveIterator.OfInt iterator,
IntUnaryOperator mapper) |
Copyright © 2017. All rights reserved.