Annotation Interface 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
     
    float
     
  • Element Details

    • min

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

      float max
      Returns:
      the maximum possible value, inclusive