Enum MathOperation.ElementType

    • Enum Constant Detail

      • THIS_PARAMETER_OPERAND

        public static final MathOperation.ElementType THIS_PARAMETER_OPERAND
        >Use the value of this parameter in the calculation. It is the calibrator's value only. If the raw value is needed, specify it explicitly using ParameterInstanceRefOperand. Note this element has no content.
      • PARAMETER_INSTANCE_REF_OPERAND

        public static final MathOperation.ElementType PARAMETER_INSTANCE_REF_OPERAND
        This element is used to reference the last received/assigned value of any Parameter in this math operation.
      • OPERATOR

        public static final MathOperation.ElementType OPERATOR
        All operators utilize operands on the top values in the stack and leaving the result on the top of the stack. Ternary operators utilize the top three operands on the stack, binary operators utilize the top two operands on the stack, and unary operators use the top operand on the stack.
    • Method Detail

      • values

        public static MathOperation.ElementType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (MathOperation.ElementType c : MathOperation.ElementType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MathOperation.ElementType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null