T- the type of the first argument to the
U- the type of the second argument to the
R- the type of results returned by the
@FunctionalInterface public interface BiFunction<T,U,R>
Function. A function may variously provide a mapping between types, object instances or keys and values or any other form of transformation upon the input.
|Modifier and Type||Method and Description|
Compose a new function which applies this function followed by the provided function.
Compute the result of applying the function to the input arguments
t- an input object
u- an input object
default <V> BiFunction<T,U,V> andThen(Function<? super R,? extends V> after)
V- Type of output objects to the combined function. May be the same type as
after- An additional function to be applied after this function is applied
NullPointerException- if after is null
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2013, Oracle and/or its affiliates. All rights reserved.