Interface FSFloatConstraint

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void eq​(float f)
      Require float value to be equal f.
      void geq​(float f)
      Require float value to be greater than or equal to f.
      void gt​(float f)
      Require float value to be greater than f.
      void leq​(float f)
      Require float value to be less than or equal to f.
      void lt​(float f)
      Require float value to be less than f.
      boolean match​(float f)
      Check if float matches defined constraints.
    • Method Detail

      • eq

        void eq​(float f)
        Require float value to be equal f.
        Parameters:
        f - Matched value must be equal to this.
      • lt

        void lt​(float f)
        Require float value to be less than f.
        Parameters:
        f - Matched value must be less than this.
      • leq

        void leq​(float f)
        Require float value to be less than or equal to f.
        Parameters:
        f - Matched value must be less than or equal to this.
      • gt

        void gt​(float f)
        Require float value to be greater than f.
        Parameters:
        f - Matched value must be greater than this.
      • geq

        void geq​(float f)
        Require float value to be greater than or equal to f.
        Parameters:
        f - Matched value must be greater than or equal to this.
      • match

        boolean match​(float f)
        Check if float matches defined constraints.
        Parameters:
        f - The float to be checked.
        Returns:
        true iff the float satisfies the constraints.