Module com.github.rvesse.airline
Annotation Interface FloatRange
Annotation that marks values as being restricted to a given float range
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionfloat
Maximum valueboolean
Whether the maximum value is inclusivefloat
Minimum valueboolean
Whether the minimum value is inclusive
-
Element Details
-
min
float minMinimum value- Returns:
- Minimum value
- Default:
1.4E-45f
-
max
float maxMaximum value- Returns:
- Maximum value
- Default:
3.4028235E38f
-
minInclusive
boolean minInclusiveWhether the minimum value is inclusive- Returns:
- True if inclusive, false if exclusive
- Default:
true
-
maxInclusive
boolean maxInclusiveWhether the maximum value is inclusive- Returns:
- True if inclusive, false if exclusive
- Default:
true
-