Class Operator.Contains

  • All Implemented Interfaces:
    IOperator
    Enclosing class:
    Operator

    public static class Operator.Contains
    extends java.lang.Object
    implements IOperator
    Test if an object is contained in a collection.
    • Constructor Detail

      • Contains

        public Contains()
    • Method Detail

      • evaluate

        public boolean evaluate​(IOAVState state,
                                java.lang.Object val1,
                                java.lang.Object val2)
        Evaluate two objects with respect to the operator semantics.
        Specified by:
        evaluate in interface IOperator
        Parameters:
        state - The state.
        val1 - The first object.
        val2 - The second object.
        Returns:
        True, if objects fit wrt. the operator semantics.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation.