A - the argument type.public final class LeftBoundProcedure<A> extends Object implements Procedure<A>
BinaryProcedure
to the
Procedure interface
using a constant left-side argument.| Constructor and Description |
|---|
LeftBoundProcedure(BinaryProcedure<? super L,? super A> procedure,
L arg)
Create a new LeftBoundProcedure.
|
| Modifier and Type | Method and Description |
|---|---|
static <L,R> LeftBoundProcedure<R> |
bind(BinaryProcedure<? super L,? super R> procedure,
L arg)
Get a Procedure from
procedure. |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
run(A obj)
Execute this procedure.
|
String |
toString() |
public LeftBoundProcedure(BinaryProcedure<? super L,? super A> procedure, L arg)
L - the left argument type.procedure - the procedure to adaptarg - the constant argument to usepublic static <L,R> LeftBoundProcedure<R> bind(BinaryProcedure<? super L,? super R> procedure, L arg)
procedure.L - left typeR - right typeprocedure - to adaptarg - left side argumentCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.