L
- the left argument type.R
- the right argument type.public final class IgnoreLeftProcedure<L,R> extends Object implements BinaryProcedure<L,R>
Procedure
to the
BinaryProcedure
interface
by ignoring the first binary argument.Constructor and Description |
---|
IgnoreLeftProcedure(Procedure<? super R> procedure)
Create a new IgnoreLeftProcedure.
|
Modifier and Type | Method and Description |
---|---|
static <L,R> IgnoreLeftProcedure<L,R> |
adapt(Procedure<? super R> procedure)
Adapt a Procedure to the BinaryProcedure interface.
|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
run(L left,
R right)
Execute this procedure.
|
String |
toString() |
public IgnoreLeftProcedure(Procedure<? super R> procedure)
procedure
- to adaptpublic void run(L left, R right)
run
in interface BinaryProcedure<L,R>
left
- the L element of the ordered pair of argumentsright
- the R element of the ordered pair of argumentspublic static <L,R> IgnoreLeftProcedure<L,R> adapt(Procedure<? super R> procedure)
L
- left typeR
- right typeprocedure
- to adaptCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.