# Uses of Interface
org.apache.commons.io.function.IOBinaryOperator

Packages that use IOBinaryOperator
Package
Description
org.apache.commons.io.function
Provides IO-only related functional interfaces for lambda expressions and method references.

- ## Uses of IOBinaryOperator in org.apache.commons.io.function

  Methods in org.apache.commons.io.function that return IOBinaryOperator
  Modifier and Type
  Method
  Description
  `static <T> IOBinaryOperator<T>`
  IOBinaryOperator.`maxBy(IOComparator<? super T> comparator)`
  Creates a `IOBinaryOperator` which returns the greater of two elements according to the specified `Comparator`.
  `static <T> IOBinaryOperator<T>`
  IOBinaryOperator.`minBy(IOComparator<? super T> comparator)`
  Creates a `IOBinaryOperator` which returns the lesser of two elements according to the specified `Comparator`.
  Methods in org.apache.commons.io.function with parameters of type IOBinaryOperator
  Modifier and Type
  Method
  Description
  `default Optional<T>`
  IOStream.`reduce(IOBinaryOperator<T> accumulator)`
  Like `Stream.reduce(java.util.function.BinaryOperator)`.
  `default T`
  IOStream.`reduce(T identity, IOBinaryOperator<T> accumulator)`
  Like `Stream.reduce(Object, java.util.function.BinaryOperator)`.
  `default <U> U`
  IOStream.`reduce(U identity, IOBiFunction<U,? super T,U> accumulator, IOBinaryOperator<U> combiner)`
  Like `Stream.reduce(Object, BiFunction, java.util.function.BinaryOperator)`.