Class Operator.Matches

  • All Implemented Interfaces:
    IOperator
    Enclosing class:
    Operator

    public static class Operator.Matches
    extends java.lang.Object
    implements IOperator
    Requires strings as both parameters. Test two strings for matches.
    • Constructor Detail

      • Matches

        public Matches()
    • 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.