Annotation Type DoubleRange
Controls the range of a double.
This annotation is made to be used with double or Double and not other numeric types. It is only
supported by the double liaison.
-
Optional Element Summary
Optional Elements
-
Element Details
-
min
double minThe minimum value.If set to
Double.NEGATIVE_INFINITY(the default), the bounds check is disabled.- Returns:
- the min value, inclusive
- Default:
-1.0/0.0
-
max
double maxThe maximum value.If set to
Double.POSITIVE_INFINITY(the default), the bounds check is disabled.- Returns:
- the max value, inclusive
- Default:
1.0/0.0
-