@FunctionalInterface public interface Function2<T1,T2,R> extends java.util.function.BiFunction<T1,T2,R>
Modifier and Type | Method and Description |
---|---|
R |
apply(T1 v1,
T2 v2)
Apply this function to the arguments.
|
default R |
apply(Tuple2<T1,T2> args)
Apply this function to the arguments.
|
static <T1,T2,R> Function2<T1,T2,R> |
from(java.util.function.BiFunction<T1,T2,R> function)
Convert to this function to a
BiFunction |
default java.util.function.BiFunction<T1,T2,R> |
toBiFunction()
Convert this function to a
BiFunction |
andThen
R apply(T1 v1, T2 v2)
apply
in interface java.util.function.BiFunction<T1,T2,R>
default java.util.function.BiFunction<T1,T2,R> toBiFunction()
BiFunction
static <T1,T2,R> Function2<T1,T2,R> from(java.util.function.BiFunction<T1,T2,R> function)
BiFunction
Copyright © 2015. All Rights Reserved.