Annotation Interface SpecDoubleInRange


@Retention(RUNTIME) @Target(FIELD) public @interface SpecDoubleInRange
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
    double
     
    double
     
  • Element Details

    • min

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

      double max
      Returns:
      the maximum possible value, inclusive