Package | Description |
---|---|
com.hazelcast.jet.stream |
java.util.stream implementation using Hazelcast Jet
|
Modifier and Type | Method and Description |
---|---|
default OptionalInt |
DistributedIntStream.reduce(DistributedIntBinaryOperator 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. |
default int |
DistributedIntStream.reduce(int identity,
DistributedIntBinaryOperator 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 Hazelcast, Inc.. All Rights Reserved.