Package io.atlassian.fugue.deprecated
Interface Function2<A,B,C>
- Type Parameters:
A- the type of the first argument acceptedB- the type of the resultC- the type of the result of application
- All Superinterfaces:
BiFunction<A,B, C>
Deprecated.
since 2.4 use BiFunction instead
Represents a function that takes two parameters.
- Since:
- 1.0
-
Method Summary
Methods inherited from interface java.util.function.BiFunction
andThen
-
Method Details
-
apply
Deprecated.since 2.4 use BiFunction insteadReturns the results of applying this function to the supplied arguments. Like Guava's Function, this method is generally expected, but not absolutely required, to have the following properties: * it's execution does not cause any observable side effect * the computation is consistent with equals; that is, Objects.equal(a, b) implies that Objects.equal(function.apply(a), function.apply(b)).- Specified by:
applyin interfaceBiFunction<A,B, C> - Parameters:
arg1- the first argumentarg2- the second argument- Returns:
- the result, should not be null
-