Annotation Interface ByteRange
Annotation that marks values as being restricted to a given byte range
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbyteMaximum valuebooleanWhether the maximum value is inclusivebyteMinimum valuebooleanWhether the minimum value is inclusive
-
Element Details
-
min
byte minMinimum value- Returns:
- Minimum value
- Default:
(byte)0x80
-
max
byte maxMaximum value- Returns:
- Maximum value
- Default:
(byte)0x7f
-
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
-