## Uses of Interface
java.util.function.DoubleBinaryOperator

- Packages that use DoubleBinaryOperator
  Package | Description
  --- | ---
  java.util |
  java.util.stream | Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.

- - ### Uses of DoubleBinaryOperator in java.util

    Methods in java.util with parameters of type DoubleBinaryOperator
    Modifier and Type | Method and Description
    --- | ---
    `static void` | Arrays.`parallelPrefix(double[] array, DoubleBinaryOperator op)` Cumulates, in parallel, each element of the given array in place, using the supplied function.
    `static void` | Arrays.`parallelPrefix(double[] array, int fromIndex, int toIndex, DoubleBinaryOperator op)` Performs `Arrays.parallelPrefix(double[], DoubleBinaryOperator)` for the given subrange of the array.

  - ### Uses of DoubleBinaryOperator in java.util.stream

    Methods in java.util.stream with parameters of type DoubleBinaryOperator
    Modifier and Type | Method and Description
    --- | ---
    `OptionalDouble` | DoubleStream.`reduce(DoubleBinaryOperator op)` Performs a reduction on the elements of this stream, using an associative accumulation function, and returns an `OptionalDouble` describing the reduced value, if any.
    `double` | DoubleStream.`reduce(double identity, DoubleBinaryOperator 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 © 2025 API Design. All Rights Reserved.