java.lang.Object
ru.cg.webbpm.modules.expression.operators.Operator
Direct Known Subclasses:
UnaryOperator

public abstract class Operator extends Object
Author:
m.popov
  • Method Details

    • evaluate

      public abstract Object evaluate(Object left, Object right)
      Implementation of this operator.
      Parameters:
      left - -- the left argument.
      right - -- the right argument.
      Returns:
      the result of the operation.
    • getName

      public String getName()
      Returns:
      the operator's name (pattern)
    • getPrecedence

      public int getPrecedence()
      Returns:
      the operator's precedence