Module com.github.rvesse.airline
Annotation Interface ShortRange
Annotation that marks values as being restricted to a given short integer
range
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionshort
Maximum valueboolean
Whether the maximum value is inclusiveshort
Minimum valueboolean
Whether the minimum value is inclusive
-
Element Details
-
min
short minMinimum value- Returns:
- Minimum value
- Default:
-32768
-
max
short maxMaximum value- Returns:
- Maximum value
- Default:
32767
-
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
-