| Package | Description |
|---|---|
| com.annimon.stream |
| Modifier and Type | Method and Description |
|---|---|
OptionalLong |
LongStream.reduce(LongBinaryOperator accumulator)
Performs a reduction on the elements of this stream, using an
associative accumulation function, and returns an
OptionalLong
describing the reduced value, if any. |
long |
LongStream.reduce(long identity,
LongBinaryOperator accumulator)
Performs a reduction on the elements of this stream, using the provided
identity value and an associative accumulation function, and returns the
reduced value.
|
Copyright © 2017. All rights reserved.