Annotation Interface DoubleRange


@Retention(RUNTIME) @Target({FIELD,RECORD_COMPONENT}) @Documented public @interface DoubleRange
Config validator annotation that checks whether a double is in a range of allowed values.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    double
    The upper bound (inclusive)
    double
    The lower bound (inclusive)
  • Element Details

    • min

      double min
      The lower bound (inclusive)
      Default:
      -1.0/0.0
    • max

      double max
      The upper bound (inclusive)
      Default:
      1.0/0.0