Package io.reactivex.rxjava3.functions
Interface Function3<T1,T2,T3,R>
-
- Type Parameters:
T1- the first value typeT2- the second value typeT3- the third value typeR- the result type
- 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 interface Function3<@NonNull T1,@NonNull T2,@NonNull T3,@NonNull R>A functional interface (callback) that computes a value based on multiple input values.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rapply(@NonNull T1 t1, @NonNull T2 t2, @NonNull T3 t3)Calculate a value based on the input values.
-
-
-
Method Detail
-
apply
R apply(@NonNull T1 t1, @NonNull T2 t2, @NonNull T3 t3) throws java.lang.Throwable
Calculate a value based on the input values.- Parameters:
t1- the first valuet2- the second valuet3- the third value- Returns:
- the result value
- Throws:
java.lang.Throwable- if the implementation wishes to throw any type of exception
-
-