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>
  • Methodendetails

    • withDistribution

      A withDistribution(RandomDistribution distribution)
      Set the distribution to use when generating random numerical values.

      jqwik currently offers two built-in distributions:

      Parameter:
      distribution - The distribution to use when generating random values
      Gibt zurück:
      a random distribution instance