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.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen Arbitrary
Arbitrary.ArbitraryFacade -
Methodenübersicht
Modifikator und TypMethodeBeschreibungdefault BigIntegerArbitrarybetween(BigInteger min, BigInteger max) Set the allowed lowermin(included) and uppermax(included) bounder of generated numbers.greaterOrEqual(BigInteger min) Set the allowed lowermin(included) bounder of generated numbers.lessOrEqual(BigInteger max) Set the allowed uppermax(included) bounder of generated numbers.shrinkTowards(BigInteger target) Set shrinking target totargetwhich must be between the allowed bounds.Von Schnittstelle geerbte Methoden Arbitrary
allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generator, generatorWithEmbeddedEdgeCases, ignoreException, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCasesVon Schnittstelle geerbte Methoden NumericalArbitrary
withDistribution
-
Methodendetails
-
between
Set the allowed lowermin(included) and uppermax(included) bounder of generated numbers.- Parameter:
min- min value (included)max- max value (included)- Gibt zurück:
- new instance of arbitrary
-
greaterOrEqual
Set the allowed lowermin(included) bounder of generated numbers.- Parameter:
min- min value (included)- Gibt zurück:
- new instance of arbitrary
-
lessOrEqual
Set the allowed uppermax(included) bounder of generated numbers.- Parameter:
max- max value (included)- Gibt zurück:
- new instance of arbitrary
-
shrinkTowards
Set shrinking target totargetwhich must be between the allowed bounds.- Parameter:
target- shrinking target value- Gibt zurück:
- new instance of arbitrary
-