Interface ShortArbitrary

    • Method Detail

      • between

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

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

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

        @API(status=EXPERIMENTAL,
             since="1.1.4")
        Arbitrary<java.lang.Short> shrinkTowards​(short target)
        Set shrinking target to target which must be between the allowed bounds.