Interface IntegerArbitrary

    • Method Detail

      • between

        default IntegerArbitrary between​(int min,
                                         int max)
        Set the allowed lower min (included) and upper max (included) bounder of generated numbers.
      • greaterOrEqual

        IntegerArbitrary greaterOrEqual​(int min)
        Set the allowed lower min (included) bounder of generated numbers.
      • lessOrEqual

        IntegerArbitrary lessOrEqual​(int max)
        Set the allowed upper max (included) bounder of generated numbers.
      • shrinkTowards

        @API(status=EXPERIMENTAL,
             since="1.1.4")
        IntegerArbitrary shrinkTowards​(int target)
        Set shrinking target to target which must be between the allowed bounds.