Class UnaryOperator

java.lang.Object
ru.cg.webbpm.modules.expression.operators.Operator
ru.cg.webbpm.modules.expression.operators.UnaryOperator

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

    • evaluate

      public Object evaluate(Object left, Object right)
      Implementation of this unary operator.
      Specified by:
      evaluate in class Operator
      Parameters:
      left - -- the left argument.
      right - -- the right argument (must be null).
      Returns:
      the result of the operation.
    • evaluate

      public abstract Object evaluate(Object argument)
      Implementation of this unary operator.
      Parameters:
      argument - -- the argument.
      Returns:
      the result of the operation.