Class ExpressionFactory.LengthFunction

    • Constructor Detail

      • LengthFunction

        public LengthFunction​(Expression args)
        Constructs a new LengthFunction.
        Parameters:
        args - arguments
    • Method Detail

      • evaluate

        public 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.