Annotation Type ByteRange


@Retention(RUNTIME) @Target(TYPE_USE) public @interface ByteRange
Controls the range of a byte.

This annotation is made to be used with byte or Byte and not other numeric types. It is only supported by the byte liaison.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    byte
    The maximum value
    byte
    The minimum value
  • Element Details

    • min

      byte min
      The minimum value
      Returns:
      the min value, inclusive
      Default:
      (byte)0x80
    • max

      byte max
      The maximum value
      Returns:
      the max value, inclusive
      Default:
      (byte)0x7f