Annotation Type DoubleDefault
Specifies the default value as 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. Its presence will also override the value of the default method, if it exists.
-
Required Element Summary
Required Elements
-
Element Details
-
value
double valueThe double value to provide as a default.- Returns:
- the double value
-
ifMissing
double ifMissingThe double value to provide as an "if missing" default. SeeDefaultValues.ifMissing()for considerations.- Returns:
- the double value if missing
-