public class NumericalUnaryFunction extends ListRecursiveStackFunction
ListRecursiveStackFunction.ElementStackFunctionUNHANDLED| Constructor and Description |
|---|
NumericalUnaryFunction(java.lang.String name,
java.util.function.LongUnaryOperator opL,
java.util.function.DoubleUnaryOperator opD) |
| Modifier and Type | Method and Description |
|---|---|
ListRecursiveStackFunction.ElementStackFunction |
generateFunction(WarpScriptStack stack)
Generates the function to be applied on the element(s) using the parameters on the stack.
|
java.lang.String |
getUnhandledErrorMessage()
Return the error message when the given element cannot be handled by this function.
|
applygetName, refSnapshot, setName, toStringpublic NumericalUnaryFunction(java.lang.String name,
java.util.function.LongUnaryOperator opL,
java.util.function.DoubleUnaryOperator opD)
public ListRecursiveStackFunction.ElementStackFunction generateFunction(WarpScriptStack stack) throws WarpScriptException
ListRecursiveStackFunctiongenerateFunction in class ListRecursiveStackFunctionstack - The stack to be used for parameters retrieval.WarpScriptExceptionpublic java.lang.String getUnhandledErrorMessage()
ListRecursiveStackFunctiongetUnhandledErrorMessage in class ListRecursiveStackFunction