Class OperatorMUL

java.lang.Object
com.igormaznitsa.jcp.expression.operators.AbstractOperator
com.igormaznitsa.jcp.expression.operators.OperatorMUL
All Implemented Interfaces:
ExpressionItem

public final class OperatorMUL extends AbstractOperator
The class implements the MOD operator handler
  • Constructor Details

    • OperatorMUL

      public OperatorMUL()
  • Method Details

    • getArity

      public int getArity()
      Description copied from class: AbstractOperator
      Get the operator arity
      Specified by:
      getArity in class AbstractOperator
      Returns:
      the operator arity (1 or 2)
    • getReference

      public String getReference()
      Description copied from class: AbstractOperator
      Get the operator reference to be shown for a help information request
      Specified by:
      getReference in class AbstractOperator
      Returns:
      the operator reference as a String, must not be null
    • getKeyword

      public String getKeyword()
      Description copied from class: AbstractOperator
      Get the operator keyword
      Specified by:
      getKeyword in class AbstractOperator
      Returns:
      the operator keyword, must not be null
    • executeIntInt

      public Value executeIntInt(Value arg1, Value arg2)
    • executeIntFloat

      public Value executeIntFloat(Value arg1, Value arg2)
    • executeFloatInt

      public Value executeFloatInt(Value arg1, Value arg2)
    • executeFloatFloat

      public Value executeFloatFloat(Value arg1, Value arg2)
    • getExpressionItemPriority

      public ExpressionItemPriority getExpressionItemPriority()
      Description copied from interface: ExpressionItem
      Get the priority of the item
      Returns:
      the item priority, must not be null