Interface ByteArbitrary

    • Method Detail

      • between

        default ByteArbitrary between​(byte min,
                                      byte max)
        Set the allowed lower min (included) and upper max (included) bounds of generated numbers.
      • greaterOrEqual

        ByteArbitrary greaterOrEqual​(byte min)
        Set the allowed lower min (included) bound of generated numbers.
      • lessOrEqual

        ByteArbitrary lessOrEqual​(byte max)
        Set the allowed upper max (included) bound of generated numbers.
      • shrinkTowards

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