Java.Util.Functions Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides Java functional interfaces and factory methods for operations on objects and primitive values.
Classes
| Name | Description |
|---|---|
| BinaryOperator |
Provides legacy static factories for binary operators that select a minimum or maximum value. Use IBinaryOperator instead. |
| DoubleUnaryOperator |
Provides the legacy identity factory for double-valued unary operators. Use IDoubleUnaryOperator instead. |
| Function |
Provides the legacy identity-function factory. Use IFunction instead. |
| IntUnaryOperator |
Provides the legacy identity factory for integer-valued unary operators. Use IIntUnaryOperator instead. |
| LongUnaryOperator |
Provides the legacy identity factory for long-valued unary operators. Use ILongUnaryOperator instead. |
| Predicate |
Provides legacy factories for equality and negated predicates. Use IPredicate instead. |
| UnaryOperator |
Provides the legacy identity factory for object-valued unary operators. Use IUnaryOperator instead. |
Interfaces
| Name | Description |
|---|---|
| IBiConsumer |
Represents an operation that accepts two input arguments and returns no result. |
| IBiFunction |
Represents a function that accepts two arguments and produces a result. |
| IBinaryOperator |
Represents an operation upon two operands of the same type, producing a result of the same type as the operands. |
| IBiPredicate |
Represents a predicate (boolean-valued function) of two arguments. |
| IBooleanSupplier |
Represents a supplier of |
| IConsumer |
Represents an operation that accepts a single input argument and returns no result. |
| IDoubleBinaryOperator |
Represents an operation upon two |
| IDoubleConsumer |
Represents an operation that accepts a single |
| IDoubleFunction |
Represents a function that accepts a double-valued argument and produces a result. |
| IDoublePredicate |
Represents a predicate (boolean-valued function) of one |
| IDoubleSupplier |
Represents a supplier of |
| IDoubleToIntFunction |
Represents a function that accepts a double-valued argument and produces an int-valued result. |
| IDoubleToLongFunction |
Represents a function that accepts a double-valued argument and produces a long-valued result. |
| IDoubleUnaryOperator |
Represents an operation on a single |
| IFunction |
Represents a function that accepts one argument and produces a result. |
| IIntBinaryOperator |
Represents an operation upon two |
| IIntConsumer |
Represents an operation that accepts a single |
| IIntFunction |
Represents a function that accepts an int-valued argument and produces a result. |
| IIntPredicate |
Represents a predicate (boolean-valued function) of one |
| IIntSupplier |
Represents a supplier of |
| IIntToDoubleFunction |
Represents a function that accepts an int-valued argument and produces a double-valued result. |
| IIntToLongFunction |
Represents a function that accepts an int-valued argument and produces a long-valued result. |
| IIntUnaryOperator |
Represents an operation on a single |
| ILongBinaryOperator |
Represents an operation upon two |
| ILongConsumer |
Represents an operation that accepts a single |
| ILongFunction |
Represents a function that accepts a long-valued argument and produces a result. |
| ILongPredicate |
Represents a predicate (boolean-valued function) of one |
| ILongSupplier |
Represents a supplier of |
| ILongToDoubleFunction |
Represents a function that accepts a long-valued argument and produces a double-valued result. |
| ILongToIntFunction |
Represents a function that accepts a long-valued argument and produces an int-valued result. |
| ILongUnaryOperator |
Represents an operation on a single |
| IObjDoubleConsumer |
Represents an operation that accepts an object-valued and a
|
| IObjIntConsumer |
Represents an operation that accepts an object-valued and a
|
| IObjLongConsumer |
Represents an operation that accepts an object-valued and a
|
| IPredicate |
Represents a predicate (boolean-valued function) of one argument. |
| ISupplier |
Represents a supplier of results. |
| IToDoubleBiFunction |
Represents a function that accepts two arguments and produces a double-valued result. |
| IToDoubleFunction |
Represents a function that produces a double-valued result. |
| IToIntBiFunction |
Represents a function that accepts two arguments and produces an int-valued result. |
| IToIntFunction |
Represents a function that produces an int-valued result. |
| IToLongBiFunction |
Represents a function that accepts two arguments and produces a long-valued result. |
| IToLongFunction |
Represents a function that produces a long-valued result. |
| IUnaryOperator |
Represents an operation on a single operand that produces a result of the same type as its operand. |