Klasse DefaultDurationArbitrary

java.lang.Object
net.jqwik.api.arbitraries.ArbitraryDecorator<Duration>
net.jqwik.time.internal.properties.arbitraries.DefaultDurationArbitrary
Alle implementierten Schnittstellen:
Cloneable, net.jqwik.api.Arbitrary<Duration>, DurationArbitrary

@API(status=INTERNAL) public class DefaultDurationArbitrary extends net.jqwik.api.arbitraries.ArbitraryDecorator<Duration> implements DurationArbitrary
  • Verschachtelte Klassen - Übersicht

    Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen net.jqwik.api.Arbitrary

    net.jqwik.api.Arbitrary.ArbitraryFacade
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final Duration
     
    static final Duration
     
    static final Duration
     
    static final Duration
     
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected net.jqwik.api.Arbitrary<Duration>
     
    Set the allowed lower min (included) and upper max (included) bounder of generated duration.
    ofPrecision(ChronoUnit ofPrecision)
    Constrain the precision of generated values.

    Von Klasse geerbte Methoden net.jqwik.api.arbitraries.ArbitraryDecorator

    edgeCases, exhaustive, generator, generatorWithEmbeddedEdgeCases, isGeneratorMemoizable, toString, typedClone

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

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

    • DEFAULT_MIN

      public static final Duration DEFAULT_MIN
    • DEFAULT_MIN_PRECISION_HOURS

      public static final Duration DEFAULT_MIN_PRECISION_HOURS
    • DEFAULT_MAX

      public static final Duration DEFAULT_MAX
    • DEFAULT_MAX_PRECISION_HOURS

      public static final Duration DEFAULT_MAX_PRECISION_HOURS
  • Konstruktordetails

    • DefaultDurationArbitrary

      public DefaultDurationArbitrary()
  • Methodendetails

    • arbitrary

      protected net.jqwik.api.Arbitrary<Duration> arbitrary()
      Angegeben von:
      arbitrary in Klasse net.jqwik.api.arbitraries.ArbitraryDecorator<Duration>
    • between

      public DurationArbitrary between(Duration min, Duration max)
      Beschreibung aus Schnittstelle kopiert: DurationArbitrary
      Set the allowed lower min (included) and upper max (included) bounder of generated duration. If you don't explicitly set the precision and use min/max values with precision milliseconds/microseconds/nanoseconds, the precision of your min/max value is implicitly set.
      Angegeben von:
      between in Schnittstelle DurationArbitrary
    • ofPrecision

      public DurationArbitrary ofPrecision(ChronoUnit ofPrecision)
      Beschreibung aus Schnittstelle kopiert: DurationArbitrary
      Constrain the precision of generated values. Default value: Seconds. If you don't explicitly set the precision and use min/max values with precision milliseconds/microseconds/nanoseconds, the precision of your min/max value is implicitly set.
      Angegeben von:
      ofPrecision in Schnittstelle DurationArbitrary