Annotation Type 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 max  
      double min  
    • Element Detail

      • min

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

        double max
        Returns:
        the maximum possible value, inclusive