Class X.In

  • Enclosing class:
    X

    public static class X.In
    extends X.BinaryOp
    "containment" operator. Evaluates to true, if the left operand is contained in the right operand - whatever that may mean in the evaluation context.

    The default evaluation over a map context (see eval(Map))) translates to collection containment if the right operand evaluates to a collection or to containment as showing up as a string in a comma-separated list of strings that is the right operand's evaluation result.

    • Constructor Detail

      • In

        public In​(X x,
                  X y)
    • Method Detail

      • eval

        public java.lang.Object eval​(java.util.Map<java.lang.String,​java.lang.Object> context)
        Description copied from class: X
        Evaluation of the expression over a map style context that defines variable values.
        Specified by:
        eval in class X
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object