Class Operator.LessOrEqual

  • All Implemented Interfaces:
    IOperator
    Enclosing class:
    Operator

    public static class Operator.LessOrEqual
    extends java.lang.Object
    implements IOperator
    Test two objects for less or equal.
    • Constructor Detail

      • LessOrEqual

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