Annotation Interface Size


Validates List, Collection, Map, String or CharSequence size
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int
     
  • Element Details

    • max

      @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int max
      Returns:
      maximum value should have (inclusive)
    • min

      @org.jetbrains.annotations.Range(from=0L, to=2147483647L) int min
      Returns:
      minimum value should have (inclusive)
      Default:
      0