L - the left argument type.R - the right argument type.T - the returned value type.public final class IgnoreLeftFunction<L,R,T> extends Object implements BinaryFunction<L,R,T>
Function
to the
BinaryFunction interface
by ignoring the first binary argument.| Constructor and Description |
|---|
IgnoreLeftFunction(Function<? super R,? extends T> function)
Create a new IgnoreLeftFunction.
|
| Modifier and Type | Method and Description |
|---|---|
static <L,R,T> IgnoreLeftFunction<L,R,T> |
adapt(Function<? super R,? extends T> function)
Adapt a Function to the BinaryFunction interface.
|
boolean |
equals(Object obj) |
T |
evaluate(L left,
R right)
Evaluate this function.
|
int |
hashCode() |
String |
toString() |
public IgnoreLeftFunction(Function<? super R,? extends T> function)
function - Function for right argumentpublic T evaluate(L left, R right)
evaluate in interface BinaryFunction<L,R,T>left - the L element of the ordered pair of argumentsright - the R element of the ordered pair of argumentspublic static <L,R,T> IgnoreLeftFunction<L,R,T> adapt(Function<? super R,? extends T> function)
L - left typeR - right typeT - result typefunction - to adaptCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.