Interface FSBooleanConstraint

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void eq​(boolean condition)
      Set the constraint.
      boolean match​(boolean condition)
      Check the condition.
    • Method Detail

      • eq

        void eq​(boolean condition)
        Set the constraint.
        Parameters:
        condition - The condition that needs to be matched to satisfy the constraint.
      • match

        boolean match​(boolean condition)
        Check the condition.
        Parameters:
        condition - Value to compare with the condition.
        Returns:
        True if value and constraint are equal, false else.