Interface BigIntegerArbitrary

    • Method Detail

      • between

        default BigIntegerArbitrary between​(java.math.BigInteger min,
                                            java.math.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​(java.math.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​(java.math.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​(java.math.BigInteger target)
        Set shrinking target to target which must be between the allowed bounds.
        Parameters:
        target - shrinking target value
        Returns:
        new instance of arbitrary