T
- the returned value type.public final class NullaryProcedureNullaryFunction<T> extends Object implements NullaryFunction<T>
Constructor and Description |
---|
NullaryProcedureNullaryFunction(NullaryProcedure procedure)
Create a new NullaryProcedureNullaryFunction.
|
Modifier and Type | Method and Description |
---|---|
static <T> NullaryProcedureNullaryFunction<T> |
adapt(NullaryProcedure procedure)
Adapt a NullaryProcedure as a NullaryFunction.
|
boolean |
equals(Object obj) |
T |
evaluate()
Evaluate this function.
|
int |
hashCode() |
String |
toString() |
public NullaryProcedureNullaryFunction(NullaryProcedure procedure)
procedure
- to adaptpublic T evaluate()
evaluate
in interface NullaryFunction<T>
public static <T> NullaryProcedureNullaryFunction<T> adapt(NullaryProcedure procedure)
T
- the returned value type.procedure
- to adaptCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.