| Package | Description |
|---|---|
| com.annimon.stream |
| Modifier and Type | Method and Description |
|---|---|
OptionalInt |
IntStream.reduce(IntBinaryOperator op)
Performs a reduction on the elements of this stream, using an
associative accumulation function, and returns an
OptionalInt
describing the reduced value, if any. |
int |
IntStream.reduce(int identity,
IntBinaryOperator op)
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.