Klasse ExhaustiveGenerators

java.lang.Object
net.jqwik.engine.properties.arbitraries.exhaustive.ExhaustiveGenerators

public class ExhaustiveGenerators extends Object
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static Optional<net.jqwik.api.ExhaustiveGenerator<Character>>
    choose(char[] characters, long maxNumberOfSamples)
     
    static <T extends @Nullable Object>
    Optional<net.jqwik.api.ExhaustiveGenerator<T>>
    choose(List<T> values, long maxNumberOfSamples)
     
    static <R extends @Nullable Object>
    Optional<net.jqwik.api.ExhaustiveGenerator<R>>
    combine(List<net.jqwik.api.Arbitrary<Object>> arbitraries, Function<? super List<?>,? extends R> combinator, long maxNumberOfSamples)
     
    static <T extends @Nullable Object>
    Optional<net.jqwik.api.ExhaustiveGenerator<T>>
    create(Supplier<T> supplier, long maxNumberOfSamples)
     
    static <U extends @Nullable Object, T extends @Nullable Object>
    Optional<net.jqwik.api.ExhaustiveGenerator<U>>
    flatMap(net.jqwik.api.ExhaustiveGenerator<T> base, Function<? super T,? extends net.jqwik.api.Arbitrary<U>> mapper, long maxNumberOfSamples)
     
    static <T extends @Nullable Object>
    Optional<net.jqwik.api.ExhaustiveGenerator<T>>
    fromIterable(Iterable<T> iterator, long maxCount, long maxNumberOfSamples)
     
    static <T extends @Nullable Object>
    Optional<net.jqwik.api.ExhaustiveGenerator<List<T>>>
    list(net.jqwik.api.Arbitrary<T> elementArbitrary, int minSize, int maxSize, Collection<? extends FeatureExtractor<T>> uniquenessExtractors, long maxNumberOfSamples)
     
    static <T extends @Nullable Object>
    Optional<net.jqwik.api.ExhaustiveGenerator<Set<T>>>
    set(net.jqwik.api.Arbitrary<T> elementArbitrary, int minSize, int maxSize, Collection<FeatureExtractor<T>> featureExtractors, long maxNumberOfSamples)
     
    static <T extends @Nullable Object>
    Optional<net.jqwik.api.ExhaustiveGenerator<List<T>>>
    shuffle(List<T> values, long maxNumberOfSamples)
     
    static Optional<net.jqwik.api.ExhaustiveGenerator<String>>
    strings(net.jqwik.api.Arbitrary<Character> characterArbitrary, int minLength, int maxLength, long maxNumberOfSamples, boolean uniqueChars)
     

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • ExhaustiveGenerators

      public ExhaustiveGenerators()
  • Methodendetails

    • create

      public static <T extends @Nullable Object> Optional<net.jqwik.api.ExhaustiveGenerator<T>> create(Supplier<T> supplier, long maxNumberOfSamples)
    • choose

      public static <T extends @Nullable Object> Optional<net.jqwik.api.ExhaustiveGenerator<T>> choose(List<T> values, long maxNumberOfSamples)
    • choose

      public static Optional<net.jqwik.api.ExhaustiveGenerator<Character>> choose(char[] characters, long maxNumberOfSamples)
    • fromIterable

      public static <T extends @Nullable Object> Optional<net.jqwik.api.ExhaustiveGenerator<T>> fromIterable(Iterable<T> iterator, long maxCount, long maxNumberOfSamples)
    • list

      public static <T extends @Nullable Object> Optional<net.jqwik.api.ExhaustiveGenerator<List<T>>> list(net.jqwik.api.Arbitrary<T> elementArbitrary, int minSize, int maxSize, Collection<? extends FeatureExtractor<T>> uniquenessExtractors, long maxNumberOfSamples)
    • strings

      public static Optional<net.jqwik.api.ExhaustiveGenerator<String>> strings(net.jqwik.api.Arbitrary<Character> characterArbitrary, int minLength, int maxLength, long maxNumberOfSamples, boolean uniqueChars)
    • set

      public static <T extends @Nullable Object> Optional<net.jqwik.api.ExhaustiveGenerator<Set<T>>> set(net.jqwik.api.Arbitrary<T> elementArbitrary, int minSize, int maxSize, Collection<FeatureExtractor<T>> featureExtractors, long maxNumberOfSamples)
    • combine

      public static <R extends @Nullable Object> Optional<net.jqwik.api.ExhaustiveGenerator<R>> combine(List<net.jqwik.api.Arbitrary<Object>> arbitraries, Function<? super List<?>,? extends R> combinator, long maxNumberOfSamples)
    • shuffle

      public static <T extends @Nullable Object> Optional<net.jqwik.api.ExhaustiveGenerator<List<T>>> shuffle(List<T> values, long maxNumberOfSamples)
    • flatMap

      public static <U extends @Nullable Object, T extends @Nullable Object> Optional<net.jqwik.api.ExhaustiveGenerator<U>> flatMap(net.jqwik.api.ExhaustiveGenerator<T> base, Function<? super T,? extends net.jqwik.api.Arbitrary<U>> mapper, long maxNumberOfSamples)