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 Details

    • In

      public In(X x, X y)
  • Method Details

    • eval

      public Object eval(Map<String,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 String toString()
      Overrides:
      toString in class Object
    • clone

      public X clone(X x, X y)
      Description copied from class: X.BinaryOp
      Create a clone of this X.BinaryOp with the given two args
      Specified by:
      clone in class X.BinaryOp