Functional interfaces

Java UnaryOperator

Introduction In Java, the UnaryOperator interface is a functional interface that represents an operation on a single operand that produces a result of the same type. It is part of the java.util.function package and is commonly used for operations that transform or modify an object of a certain type.

Java ToLongFunction

Introduction In Java, the ToLongFunction interface is a functional interface that represents a function that accepts one argument and produces a long result. It is part of the java.util.function package and is commonly used for operations that involve converting or processing an input value to a long.

Java ToLongBiFunction

Introduction In Java, the ToLongBiFunction interface is a functional interface that represents a function that accepts two arguments and produces a long result. It is part of the java.util.function package and is commonly used for operations that involve two input values and return a long.

Java ToIntFunction

Introduction In Java, the ToIntFunction interface is a functional interface that represents a function that accepts one argument and produces an int result. It is part of the java.util.function package and is commonly used for operations that involve converting or processing an input value to an int.

Java ToIntBiFunction

Introduction In Java, the ToIntBiFunction interface is a functional interface that represents a function that accepts two arguments and produces an int result. It is part of the java.util.function package and is commonly used for operations that involve two input values and return an int.

Java ToDoubleFunction

Introduction In Java, the ToDoubleFunction interface is a functional interface that represents a function that accepts one argument and produces a double result. It is part of the java.util.function package and is commonly used for operations that involve converting or processing an input value to a double.

Java ToDoubleBiFunction

Introduction In Java, the ToDoubleBiFunction interface is a functional interface that represents a function that accepts two arguments and produces a double result. It is part of the java.util.function package and is commonly used for operations that involve two input values and return a double.

Java ObjLongConsumer

Introduction In Java, the ObjLongConsumer interface is a functional interface that represents an operation that accepts an object and a long-valued argument and returns no result. It is part of the java.util.function package and is commonly used for operations that involve both an object and a long value, such as modifying an object’s state.

Java ObjIntConsumer

Introduction In Java, the ObjIntConsumer interface is a functional interface that represents an operation that accepts an object and an int-valued argument and returns no result. It is part of the java.util.function package and is commonly used for operations that involve both an object and an int value, such as modifying an object’s state.

Java ObjDoubleConsumer

Introduction In Java, the ObjDoubleConsumer interface is a functional interface that represents an operation that accepts an object and a double-valued argument and returns no result. It is part of the java.util.function package and is commonly used for operations that involve both an object and a double value, such as modifying an object’s state.

Java LongToIntFunction

Introduction In Java, the LongToIntFunction interface is a functional interface that represents a function that accepts a long-valued argument and produces an int result. It is part of the java.util.function package and is commonly used for operations that convert or process long values into int values.

Java LongToDoubleFunction

Introduction In Java, the LongToDoubleFunction interface is a functional interface that represents a function that accepts a long-valued argument and produces a double result. It is part of the java.util.function package and is commonly used for operations that convert or process long values into double values.

Java LongFunction

Introduction In Java, the LongFunction interface is a functional interface that represents a function that accepts a long-valued argument and produces a result. It is part of the java.util.function package and is commonly used for operations that transform or process long values into other types.

Java LongFunction

Introduction In Java, the LongFunction interface is a functional interface that represents a function that accepts a long-valued argument and produces a result. It is part of the java.util.function package and is commonly used for operations that transform or process long values into other types.

Java LongConsumer

Introduction In Java, the LongConsumer interface is a functional interface that represents an operation that accepts a single long-valued argument and returns no result. It is part of the java.util.function package and is commonly used for operations that process long values, such as logging or modifying data.

Java IntToLongFunction

Introduction In Java, the IntToLongFunction interface is a functional interface that represents a function that accepts an int-valued argument and produces a long result. It is part of the java.util.function package and is commonly used for operations that convert or process int values into long values.

Java IntToDoubleFunction

Introduction In Java, the IntToDoubleFunction interface is a functional interface that represents a function that accepts an int-valued argument and produces a double result. It is part of the java.util.function package and is commonly used for operations that convert or process int values into double values.

Scroll to Top