Annotation Interface RandomizedFloat


@Target(FIELD) @Retention(RUNTIME) public @interface RandomizedFloat
Annotation to specify that a float field should be randomized when Randomness.randomizeFields(Object, java.util.random.RandomGenerator) is used.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    float
    The maximum value of the float.
    float
    The minimum value of the float.
  • Element Details

    • min

      float min
      The minimum value of the float.
      Returns:
      the minimum value
      Default:
      1.4E-45f
    • max

      float max
      The maximum value of the float.
      Returns:
      the maximum value
      Default:
      3.4028235E38f