-
- Type Parameters:
A
- first argument typeB
- second argument typeC
- third argument typeR
- the return type
- All Superinterfaces:
Functions.BiFunction<A,B,R>
,Functions.Function<A,R>
- All Known Subinterfaces:
Functions.QuadriFunction<A,B,C,D,R>
- Enclosing class:
- Functions
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Functions.TriFunction<A,B,C,R> extends Functions.BiFunction<A,B,R>
Represents a function that accepts three arguments and produces a result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default R
apply(A a, B b)
Applies this function to the given arguments.R
apply(A a, B b, C c)
Applies this function to the given arguments.-
Methods inherited from interface aeonics.util.Functions.BiFunction
apply
-
-
-
-
Method Detail
-
apply
default R apply(A a, B b) throws java.lang.Exception
Description copied from interface:Functions.BiFunction
Applies this function to the given arguments.- Specified by:
apply
in interfaceFunctions.BiFunction<A,B,C>
- Parameters:
a
- the input argumentb
- the input argument- Returns:
- the return value
- Throws:
java.lang.Exception
- if an error happens
-
-