Schnittstelle ShortArbitrary

Alle Superschnittstellen:
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.
  • Methodendetails Linksymbol

    • between Linksymbol

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

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

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

      @API(status=MAINTAINED, since="1.4.0") Arbitrary<Short> shrinkTowards(short target)
      Set shrinking target to target which must be between the allowed bounds.