Annotation Type SpecFloatInRange


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface SpecFloatInRange
    Specifies that the value of a field must be in a certain range (inclusive).
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      float max  
      float min  
    • Element Detail

      • min

        float min
        Returns:
        the minimum possible value, inclusive
      • max

        float max
        Returns:
        the maximum possible value, inclusive