java.util.function Package : Functional interfaces provide target types for lambda expressions and method references.
Interfaces in java.util.function Package
S.No  Interface & Description 

1  BiConsumer<T,U>
Represents an operation that accepts two input arguments and returns no result.

2  BiFunction<T,U,R>
Represents a function that accepts two arguments and produces a result.

3  BinaryOperator<T>
Represents an operation upon two operands of the same type, producing a result of the same type as the operands.

4  BiPredicate<T,U> Represents a predicate (booleanvalued function) of two arguments.

5  BooleanSupplier
Represents a supplier of booleanvalued results.

6  Consumer<T>
Represents an operation that accepts a single input argument and returns no result.

7  DoubleBinaryOperator
Represents an operation upon two doublevalued operands and producing a doublevalued result.

8  DoubleConsumer
Represents an operation that accepts a single doublevalued argument and returns no result.

9  DoubleFunction<R>
Represents a function that accepts a doublevalued argument and produces a result.

10  DoublePredicate
Represents a predicate (booleanvalued function) of one doublevalued argument.

11  DoubleSupplier Represents a supplier of doublevalued results.

12  DoubleToIntFunction
Represents a function that accepts a doublevalued argument and produces an intvalued result.

13  DoubleToLongFunction
Represents a function that accepts a doublevalued argument and produces a longvalued result.

14  DoubleUnaryOperator
Represents an operation on a single doublevalued operand that produces a doublevalued result.

15  Function<T,R>
Represents a function that accepts one argument and produces a result.

16  IntBinaryOperator
Represents an operation upon two intvalued operands and producing an intvalued result.

17  IntConsumer
Represents an operation that accepts a single intvalued argument and returns no result.

18  IntFunction<R>
Represents a function that accepts an intvalued argument and produces a result.

19  IntPredicate
Represents a predicate (booleanvalued function) of one intvalued argument.

20  IntSupplier
Represents a supplier of intvalued results.

21  IntToDoubleFunction
Represents a function that accepts an intvalued argument and produces a doublevalued result.

22  IntToLongFunction
Represents a function that accepts an intvalued argument and produces a longvalued result.

23  IntUnaryOperator
Represents an operation on a single intvalued operand that produces an intvalued result.

24  LongBinaryOperator
Represents an operation upon two longvalued operands and producing a longvalued result.

25  LongConsumer
Represents an operation that accepts a single longvalued argument and returns no result.

26  LongFunction<R>
Represents a function that accepts a longvalued argument and produces a result.

27  LongPredicate
Represents a predicate (booleanvalued function) of one longvalued argument.

28  LongSupplier
Represents a supplier of longvalued results.

29  LongToDoubleFunction
Represents a function that accepts a longvalued argument and produces a doublevalued result.

30  LongToIntFunction
Represents a function that accepts a longvalued argument and produces an intvalued result.

31  LongUnaryOperator
Represents an operation on a single longvalued operand that produces a longvalued result.

32  ObjDoubleConsumer<T>
Represents an operation that accepts an objectvalued and a doublevalued argument, and returns no result.

33  ObjIntConsumer<T>
Represents an operation that accepts an objectvalued and a intvalued argument, and returns no result.

34  ObjLongConsumer<T>
Represents an operation that accepts an objectvalued and a longvalued argument, and returns no result.

35  Predicate<T>
Represents a predicate (booleanvalued function) of one argument.

36  Supplier<T>
Represents a supplier of results.

37  ToDoubleBiFunction<T,U>
Represents a function that accepts two arguments and produces a doublevalued result.

38  ToDoubleFunction<T>
Represents a function that produces a doublevalued result.

39  ToIntBiFunction<T,U>
Represents a function that accepts two arguments and produces an intvalued result.

40  ToIntFunction<T>
Represents a function that produces an intvalued result.

41  ToLongBiFunction<T,U>
Represents a function that accepts two arguments and produces a longvalued result.

42  ToLongFunction<T>
Represents a function that produces a longvalued result.

43  UnaryOperator<T>
Represents an operation on a single operand that produces a result of the same type as its operand.

Ask your questions in eHowToNow Forum
Post your technical, nontechnical doubts, questions in our site. Get answer as soon as possible, meanwhile you can help others by answering, unanswered questions.
To Ask new Question : Ask Question
Check our existing discussions : Questions & Answers
To Ask new Question : Ask Question
Check our existing discussions : Questions & Answers
 Java UnaryOperator identity() method with example
 Java IntPredicate and() method with example
 Java IntUnaryOperator andThen() method with example
 java.util.function Package
 Java 8 Functional Interface
 Java – IntUnaryOperator Interface
 Java – UnaryOperator Interface
 Java – Consumer Interface
 Java – ObjLongConsumer Interface
 Java Predicate and() method with example
 Java – IntBinaryOperator Interface
 Java – Function Interface
 Java DoubleUnaryOperator andThen() method with example
 Java – LongToDoubleFunction Interface
 Java – DoubleToIntFunction Interface
Leave a Reply
You must be logged in to post a comment.