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 SummaryFieldsModifier and TypeFieldDescriptionstatic final DoubleDeprecated, for removal: This API element is subject to removal in a future version.static final DoubleDeprecated, for removal: This API element is subject to removal in a future version.static final DoubleDeprecated, for removal: This API element is subject to removal in a future version.static final ObjectDeprecated, for removal: This API element is subject to removal in a future version.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanDeprecated, 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.intDeprecated, 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.voidDeprecated, for removal: This API element is subject to removal in a future version.Run the function on the stack.voidsetCurNumberOfParameters(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- 
TRUEDeprecated, for removal: This API element is subject to removal in a future version.
- 
FALSEDeprecated, for removal: This API element is subject to removal in a future version.
- 
NANDeprecated, for removal: This API element is subject to removal in a future version.
- 
UNDECIDEDDeprecated, for removal: This API element is subject to removal in a future version.
 
- 
- 
Method Details- 
runDeprecated, 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
 
- 
checkDeprecated, 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 pushesUNDECIDEDresult.
- 
getNumberOfParametersint 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.
- 
setCurNumberOfParametersvoid 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.
- 
getFunctionPostfixMathCommandI getFunction()Deprecated, for removal: This API element is subject to removal in a future version.Returns the function itself or its clone.
 
- 
CustomFunctioninstead.