A
- the argument type.public final class NullaryProcedureProcedure<A> extends Object implements Procedure<A>
Constructor and Description |
---|
NullaryProcedureProcedure(NullaryProcedure procedure)
Create a new NullaryProcedureProcedure.
|
Modifier and Type | Method and Description |
---|---|
static <A> NullaryProcedureProcedure<A> |
adapt(NullaryProcedure procedure)
Adapt a NullaryProcedure to the Procedure interface.
|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
run(A obj)
Execute this procedure.
|
String |
toString() |
public NullaryProcedureProcedure(NullaryProcedure procedure)
procedure
- to adaptpublic static <A> NullaryProcedureProcedure<A> adapt(NullaryProcedure procedure)
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.