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

- Packages that use IntBinaryOperator
  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 IntBinaryOperator in java.util

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

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

    Methods in java.util.stream with parameters of type IntBinaryOperator
    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 © 2025 API Design. All Rights Reserved.