Class ExpressionFactory.AndOperator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<Expression> args  
    • Constructor Summary

      Constructors 
      Constructor Description
      AndOperator​(java.util.List<Expression> args)
      Constructs a new AndOperator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object evaluate​(Environment env)
      Evaluate this expression.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AndOperator

        public AndOperator​(java.util.List<Expression> args)
        Constructs a new AndOperator.
        Parameters:
        args - arguments
    • Method Detail

      • evaluate

        public java.lang.Object evaluate​(Environment env)
        Description copied from interface: Expression
        Evaluate this expression.
        Specified by:
        evaluate in interface Expression
        Parameters:
        env - The environment
        Returns:
        the result of the evaluation, can be a List, String or any primitive type or wrapper classes of a primitive type.