Package icyllis.arc3d.core

# Annotation Interface Size

@Documented @Retention(CLASS) @Target({METHOD,PARAMETER,FIELD,LOCAL_VARIABLE,ANNOTATION_TYPE}) public @interface Size
Denotes that the annotated element should have a given size or length. Note that "-1" means "unset". Typically used with a parameter or return value of type array or collection.

- ## Optional Element Summary

  Optional Elements
  Modifier and Type
  Optional Element
  Description
  `long`
  `max`
  A maximum size, inclusive
  `long`
  `min`
  A minimum size, inclusive
  `long`
  `multiple`
  The size must be a multiple of this factor
  `long`
  `value`
  An exact size (or -1 if not specified)

- ## Element Details

  - ### value

    long value
    An exact size (or -1 if not specified)
    Default:
      `-1L`

  - ### min

    long min
    A minimum size, inclusive
    Default:
      `-9223372036854775808L`

  - ### max

    long max
    A maximum size, inclusive
    Default:
      `9223372036854775807L`

  - ### multiple

    long multiple
    The size must be a multiple of this factor
    Default:
      `1L`