| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function | |
| com.annimon.stream.operator |
| Modifier and Type | Method and Description |
|---|---|
static LongStream |
LongStream.iterate(long seed,
LongPredicate predicate,
LongUnaryOperator op)
Creates an
LongStream by iterative application LongUnaryOperator function
to an initial element seed, conditioned on satisfying the supplied predicate. |
static LongStream |
LongStream.iterate(long seed,
LongUnaryOperator f)
Creates a
LongStream by iterative application LongUnaryOperator function
to an initial element seed. |
OptionalLong |
OptionalLong.map(LongUnaryOperator mapper)
Invokes the given mapping function on inner value if present.
|
LongStream |
LongStream.map(LongUnaryOperator mapper)
Returns an
LongStream consisting of the results of applying the given
function to the elements of this stream. |
| Modifier and Type | Method and Description |
|---|---|
static LongUnaryOperator |
LongUnaryOperator.Util.identity()
Returns a unary operator that always returns its input argument.
|
| Modifier and Type | Method and Description |
|---|---|
static IndexedLongUnaryOperator |
IndexedLongUnaryOperator.Util.wrap(LongUnaryOperator function)
Wraps
LongUnaryOperator and returns IndexedLongUnaryOperator. |
| Constructor and Description |
|---|
LongIterate(long seed,
LongUnaryOperator f) |
LongMap(PrimitiveIterator.OfLong iterator,
LongUnaryOperator mapper) |
Copyright © 2018. All rights reserved.