Package chemaxon.nfunk.jep.function
Interface PostfixMathCommandI
@PublicApi
@Deprecated(forRemoval=true)
@SubjectToRemoval(date=JUL_01_2025)
public interface PostfixMathCommandI
Deprecated, for removal: This API element is subject to removal in a future version.
Legacy interface for function classes.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Double
Deprecated, for removal: This API element is subject to removal in a future version.static final Double
Deprecated, for removal: This API element is subject to removal in a future version.static final Double
Deprecated, for removal: This API element is subject to removal in a future version.static final Object
Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated, for removal: This API element is subject to removal in a future version.Checks the stack.Deprecated, for removal: This API element is subject to removal in a future version.Returns the function itself or its clone.int
Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of required parameters, or -1 if any number of parameters is allowed.void
Deprecated, for removal: This API element is subject to removal in a future version.Run the function on the stack.void
setCurNumberOfParameters
(int n) Deprecated, for removal: This API element is subject to removal in a future version.Sets the number of current number of parameters used in the next call of run().
-
Field Details
-
TRUE
Deprecated, for removal: This API element is subject to removal in a future version. -
FALSE
Deprecated, for removal: This API element is subject to removal in a future version. -
NAN
Deprecated, for removal: This API element is subject to removal in a future version. -
UNDECIDED
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
run
Deprecated, for removal: This API element is subject to removal in a future version.Run the function on the stack. Pops the arguments from the stack, and pushes the result on the top of the stack.- Throws:
chemaxon.nfunk.jep.ParseException
-
check
Deprecated, for removal: This API element is subject to removal in a future version.Checks the stack. If OK (can be processed), returnstrue
, otherwise pops parameters and pushesUNDECIDED
result. -
getNumberOfParameters
int getNumberOfParameters()Deprecated, for removal: This API element is subject to removal in a future version.Returns the number of required parameters, or -1 if any number of parameters is allowed. -
setCurNumberOfParameters
void setCurNumberOfParameters(int n) Deprecated, for removal: This API element is subject to removal in a future version.Sets the number of current number of parameters used in the next call of run(). This method is only called when the reqNumberOfParameters is -1. -
getFunction
PostfixMathCommandI getFunction()Deprecated, for removal: This API element is subject to removal in a future version.Returns the function itself or its clone.
-
CustomFunction
instead.