Interface ShortArbitrary

All Superinterfaces:
Arbitrary<Short>, NumericalArbitrary<Short,ShortArbitrary>

@API(status=MAINTAINED, since="1.0") public interface ShortArbitrary extends NumericalArbitrary<Short,ShortArbitrary>
Fluent interface to configure the generation of Short and short values.
  • Method Details

    • 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=MAINTAINED, since="1.4.0") Arbitrary<Short> shrinkTowards(short target)
      Set shrinking target to target which must be between the allowed bounds.