A - the argument type.public final class BinaryProcedureUnaryProcedure<A> extends Object implements UnaryProcedure<A>
| Constructor and Description |
|---|
BinaryProcedureUnaryProcedure(BinaryProcedure<? super A,? super A> procedure)
Create a new BinaryProcedureUnaryProcedure.
|
| Modifier and Type | Method and Description |
|---|---|
static <A> UnaryProcedure<A> |
adapt(BinaryProcedure<? super A,? super A> procedure)
Adapt a BinaryProcedure as a UnaryProcedure.
|
boolean |
equals(BinaryProcedureUnaryProcedure<?> that)
Learn whether another BinaryProcedureUnaryProcedure is equal to
this. |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
run(A obj)
Execute this procedure.
|
String |
toString() |
public BinaryProcedureUnaryProcedure(BinaryProcedure<? super A,? super A> procedure)
procedure - to adaptpublic void run(A obj)
run in interface UnaryProcedure<A>obj - an A parameter to this executionpublic boolean equals(BinaryProcedureUnaryProcedure<?> that)
this.that - BinaryProcedureUnaryProcedure to checkpublic static <A> UnaryProcedure<A> adapt(BinaryProcedure<? super A,? super A> procedure)
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.