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|
Compute the result of applying the function to the input arguments
Combine with another function producing a function which performs both operations.
t- an input object
u- an input object
default <W> BiFunction<T,U,W> compose(Function<? super R,? extends W> after)
W- Type of output objects from the combined function. May be the same type as
after- An additional function to be applied to the result of this function.
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.