Interface BigIntegerArbitrary

All Superinterfaces:
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.
  • Method Details

    • between

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

      BigIntegerArbitrary greaterOrEqual(BigInteger min)
      Set the allowed lower min (included) bounder of generated numbers.
      Parameters:
      min - min value (included)
      Returns:
      new instance of arbitrary
    • lessOrEqual

      BigIntegerArbitrary lessOrEqual(BigInteger max)
      Set the allowed upper max (included) bounder of generated numbers.
      Parameters:
      max - max value (included)
      Returns:
      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.
      Parameters:
      target - shrinking target value
      Returns:
      new instance of arbitrary