Annotation Type FloatDefault
Specifies the default value as a float
This annotation is made to be used with float or Float and not other numeric types. It is only
supported by the float liaison. Its presence will also override the value of the default method, if it exists.
-
Required Element Summary
Required Elements
-
Element Details
-
value
float valueThe float value to provide as a default.- Returns:
- the float value
-
ifMissing
float ifMissingThe float value to provide as an "if missing" default. SeeDefaultValues.ifMissing()for considerations.- Returns:
- the float value if missing
-