| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function | |
| com.annimon.stream.operator |
| Modifier and Type | Method and Description |
|---|---|
static DoubleStream |
DoubleStream.iterate(double seed,
DoublePredicate predicate,
DoubleUnaryOperator op)
Creates an
DoubleStream by iterative application DoubleUnaryOperator function
to an initial element seed, conditioned on satisfying the supplied predicate. |
static DoubleStream |
DoubleStream.iterate(double seed,
DoubleUnaryOperator f)
Creates a
DoubleStream by iterative application DoubleUnaryOperator function
to an initial element seed. |
OptionalDouble |
OptionalDouble.map(DoubleUnaryOperator mapper)
Invokes the given mapping function on inner value if present.
|
DoubleStream |
DoubleStream.map(DoubleUnaryOperator mapper)
Returns an
DoubleStream consisting of the results of applying the given
function to the elements of this stream. |
| Modifier and Type | Method and Description |
|---|---|
static DoubleUnaryOperator |
DoubleUnaryOperator.Util.identity()
Returns a unary operator that always returns its input argument.
|
| Constructor and Description |
|---|
DoubleIterate(double seed,
DoubleUnaryOperator f) |
DoubleMap(PrimitiveIterator.OfDouble iterator,
DoubleUnaryOperator mapper) |
Copyright © 2017. All rights reserved.