Package net.jqwik.api.arbitraries
Schnittstelle NumericalArbitrary<T,A extends NumericalArbitrary<T,A>>
- Alle Superschnittstellen:
Arbitrary<T>
- Alle bekannten Unterschnittstellen:
BigDecimalArbitrary
,BigIntegerArbitrary
,ByteArbitrary
,DoubleArbitrary
,FloatArbitrary
,IntegerArbitrary
,LongArbitrary
,ShortArbitrary
@API(status=MAINTAINED,
since="1.8.0")
public interface NumericalArbitrary<T,A extends NumericalArbitrary<T,A>>
extends Arbitrary<T>
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen net.jqwik.api.Arbitrary
Arbitrary.ArbitraryFacade
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungwithDistribution
(RandomDistribution distribution) Set the distribution to use when generating random numerical values.Von Schnittstelle geerbte Methoden net.jqwik.api.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, withoutEdgeCases
-
Methodendetails
-
withDistribution
Set the distribution to use when generating random numerical values.jqwik currently offers two built-in distributions:
- RandomDistribution.biased() is the default
- RandomDistribution.uniform() creates a uniform probability distribution
- Parameter:
distribution
- The distribution to use when generating random values- Gibt zurück:
- a random distribution instance
-