Schnittstelle BigIntegerArbitrary

Alle Superschnittstellen:
Arbitrary<BigInteger>, NumericalArbitrary<BigInteger,BigIntegerArbitrary>

@API(status=MAINTAINED, since="1.0") public interface BigIntegerArbitrary extends NumericalArbitrary<BigInteger,BigIntegerArbitrary>
Fluent interface to configure the generation of BigInteger values.
  • Methodendetails

    • between

      default BigIntegerArbitrary between(BigInteger min, BigInteger max)
      Set the allowed lower min (included) and upper max (included) bounder of generated numbers.
      Parameter:
      min - min value (included)
      max - max value (included)
      Gibt zurück:
      new instance of arbitrary
    • greaterOrEqual

      BigIntegerArbitrary greaterOrEqual(BigInteger min)
      Set the allowed lower min (included) bounder of generated numbers.
      Parameter:
      min - min value (included)
      Gibt zurück:
      new instance of arbitrary
    • lessOrEqual

      BigIntegerArbitrary lessOrEqual(BigInteger max)
      Set the allowed upper max (included) bounder of generated numbers.
      Parameter:
      max - max value (included)
      Gibt zurück:
      new instance of arbitrary
    • shrinkTowards

      @API(status=MAINTAINED, since="1.4.0") BigIntegerArbitrary shrinkTowards(BigInteger target)
      Set shrinking target to target which must be between the allowed bounds.
      Parameter:
      target - shrinking target value
      Gibt zurück:
      new instance of arbitrary