# Uses of Package
java.util.function

- Packages that use java.util.function
  Package | Description
  --- | ---
  java.lang |
  java.util |
  java.util.function | Functional interfaces provide target types for lambda expressions and method references.
  java.util.stream | Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.

- Classes in java.util.function used by java.lang
  Class and Description
  Consumer Represents an operation that accepts a single input argument and returns no result.

- Classes in java.util.function used by java.util
  Class and Description
  BiConsumer Represents an operation that accepts two input arguments and returns no result.
  BiFunction Represents a function that accepts two arguments and produces a result.
  BinaryOperator Represents an operation upon two operands of the same type, producing a result of the same type as the operands.
  Consumer Represents an operation that accepts a single input argument and returns no result.
  DoubleBinaryOperator Represents an operation upon two `double`-valued operands and producing a `double`-valued result.
  DoubleConsumer Represents an operation that accepts a single `double`-valued argument and returns no result.
  DoubleSupplier Represents a supplier of `double`-valued results.
  Function Represents a function that accepts one argument and produces a result.
  IntBinaryOperator Represents an operation upon two `int`-valued operands and producing an `int`-valued result.
  IntConsumer Represents an operation that accepts a single `int`-valued argument and returns no result.
  IntFunction Represents a function that accepts an int-valued argument and produces a result.
  IntSupplier Represents a supplier of `int`-valued results.
  IntToDoubleFunction Represents a function that accepts an int-valued argument and produces a double-valued result.
  IntToLongFunction Represents a function that accepts an int-valued argument and produces a long-valued result.
  IntUnaryOperator Represents an operation on a single `int`-valued operand that produces an `int`-valued result.
  LongBinaryOperator Represents an operation upon two `long`-valued operands and producing a `long`-valued result.
  LongConsumer Represents an operation that accepts a single `long`-valued argument and returns no result.
  LongSupplier Represents a supplier of `long`-valued results.
  Predicate Represents a predicate (boolean-valued function) of one argument.
  Supplier Represents a supplier of results.
  ToDoubleFunction Represents a function that produces a double-valued result.
  ToIntFunction Represents a function that produces an int-valued result.
  ToLongFunction Represents a function that produces a long-valued result.
  UnaryOperator Represents an operation on a single operand that produces a result of the same type as its operand.

- Classes in java.util.function used by java.util.function
  Class and Description
  BiConsumer Represents an operation that accepts two input arguments and returns no result.
  BiFunction Represents a function that accepts two arguments and produces a result.
  BinaryOperator Represents an operation upon two operands of the same type, producing a result of the same type as the operands.
  BiPredicate Represents a predicate (boolean-valued function) of two arguments.
  Consumer Represents an operation that accepts a single input argument and returns no result.
  DoubleConsumer Represents an operation that accepts a single `double`-valued argument and returns no result.
  DoublePredicate Represents a predicate (boolean-valued function) of one `double`-valued argument.
  DoubleUnaryOperator Represents an operation on a single `double`-valued operand that produces a `double`-valued result.
  Function Represents a function that accepts one argument and produces a result.
  IntConsumer Represents an operation that accepts a single `int`-valued argument and returns no result.
  IntPredicate Represents a predicate (boolean-valued function) of one `int`-valued argument.
  IntUnaryOperator Represents an operation on a single `int`-valued operand that produces an `int`-valued result.
  LongConsumer Represents an operation that accepts a single `long`-valued argument and returns no result.
  LongPredicate Represents a predicate (boolean-valued function) of one `long`-valued argument.
  LongUnaryOperator Represents an operation on a single `long`-valued operand that produces a `long`-valued result.
  Predicate Represents a predicate (boolean-valued function) of one argument.
  UnaryOperator Represents an operation on a single operand that produces a result of the same type as its operand.

- Classes in java.util.function used by java.util.stream
  Class and Description
  BiConsumer Represents an operation that accepts two input arguments and returns no result.
  BiFunction Represents a function that accepts two arguments and produces a result.
  BinaryOperator Represents an operation upon two operands of the same type, producing a result of the same type as the operands.
  Consumer Represents an operation that accepts a single input argument and returns no result.
  DoubleBinaryOperator Represents an operation upon two `double`-valued operands and producing a `double`-valued result.
  DoubleConsumer Represents an operation that accepts a single `double`-valued argument and returns no result.
  DoubleFunction Represents a function that accepts a double-valued argument and produces a result.
  DoublePredicate Represents a predicate (boolean-valued function) of one `double`-valued argument.
  DoubleSupplier Represents a supplier of `double`-valued results.
  DoubleToIntFunction Represents a function that accepts a double-valued argument and produces an int-valued result.
  DoubleToLongFunction Represents a function that accepts a double-valued argument and produces a long-valued result.
  DoubleUnaryOperator Represents an operation on a single `double`-valued operand that produces a `double`-valued result.
  Function Represents a function that accepts one argument and produces a result.
  IntBinaryOperator Represents an operation upon two `int`-valued operands and producing an `int`-valued result.
  IntConsumer Represents an operation that accepts a single `int`-valued argument and returns no result.
  IntFunction Represents a function that accepts an int-valued argument and produces a result.
  IntPredicate Represents a predicate (boolean-valued function) of one `int`-valued argument.
  IntSupplier Represents a supplier of `int`-valued results.
  IntToDoubleFunction Represents a function that accepts an int-valued argument and produces a double-valued result.
  IntToLongFunction Represents a function that accepts an int-valued argument and produces a long-valued result.
  IntUnaryOperator Represents an operation on a single `int`-valued operand that produces an `int`-valued result.
  LongBinaryOperator Represents an operation upon two `long`-valued operands and producing a `long`-valued result.
  LongConsumer Represents an operation that accepts a single `long`-valued argument and returns no result.
  LongFunction Represents a function that accepts a long-valued argument and produces a result.
  LongPredicate Represents a predicate (boolean-valued function) of one `long`-valued argument.
  LongSupplier Represents a supplier of `long`-valued results.
  LongToDoubleFunction Represents a function that accepts a long-valued argument and produces a double-valued result.
  LongToIntFunction Represents a function that accepts a long-valued argument and produces an int-valued result.
  LongUnaryOperator Represents an operation on a single `long`-valued operand that produces a `long`-valued result.
  ObjDoubleConsumer Represents an operation that accepts an object-valued and a `double`-valued argument, and returns no result.
  ObjIntConsumer Represents an operation that accepts an object-valued and a `int`-valued argument, and returns no result.
  ObjLongConsumer Represents an operation that accepts an object-valued and a `long`-valued argument, and returns no result.
  Predicate Represents a predicate (boolean-valued function) of one argument.
  Supplier Represents a supplier of results.
  ToDoubleFunction Represents a function that produces a double-valued result.
  ToIntFunction Represents a function that produces an int-valued result.
  ToLongFunction Represents a function that produces a long-valued result.
  UnaryOperator Represents an operation on a single operand that produces a result of the same type as its operand.

Copyright © 2025 API Design. All Rights Reserved.