Uses of Interface
de.cuioss.test.generator.internal.net.java.quickcheck.Generator
Packages that use Generator
Package
Description
-
Uses of Generator in de.cuioss.test.generator.internal.net.java.quickcheck
Subinterfaces of Generator in de.cuioss.test.generator.internal.net.java.quickcheckModifier and TypeInterfaceDescriptioninterfaceExtendibleGenerator<I,T> Generator which depends upon other generator instances.interfaceCreate a frequency generator.interfaceDeclarative object generator definition.interfaceAny generator keeping state information has to implemet this interface.Methods in de.cuioss.test.generator.internal.net.java.quickcheck with parameters of type GeneratorModifier and TypeMethodDescriptionAdd a new generator.Add a new input generator.static <T> voidQuickCheck.forAll(int runs, Generator<T> generator, Characteristic<T> characteristic) Check theCharacteristicfor all values generated by the givenGenerator.static <T> voidQuickCheck.forAll(Generator<T> generator, Characteristic<T> characteristic) Check theCharacteristicfor all values generated by the givenGenerator.static <T> voidQuickCheck.forAllVerbose(int runs, Generator<T> generator, Characteristic<T> characteristic) Check theCharacteristicfor all values generated by the givenGenerator.static <T> voidQuickCheck.forAllVerbose(Generator<T> generator, Characteristic<T> characteristic) Check theCharacteristicfor all values generated by the givenGenerator.voidConstructors in de.cuioss.test.generator.internal.net.java.quickcheck with parameters of type Generator -
Uses of Generator in de.cuioss.test.generator.internal.net.java.quickcheck.generator
Methods in de.cuioss.test.generator.internal.net.java.quickcheck.generator that return GeneratorModifier and TypeMethodDescriptionstatic <T> Generator<T[]>Create a generator of arrays with values from the content generator.static <T> Generator<T[]>Create a generator of arrays with values from the content generator.static <T> Generator<T[]>Create a generator of arrays with values from the content generator.static <T> Generator<T[]>Create a generator of arrays with values from the content generator.Generators.basicLatinCharacters()Create a new character generator which generates latin characters.PrimitiveGenerators.basicLatinCharacters()Create a new character generator which generates latin characters.Generators.booleans()Create a generator for boolean values.PrimitiveGenerators.booleans()Create a generator for boolean values.static Generator<byte[]>CombinedGenerators.byteArrays()Create a generator of byte arrays.static Generator<byte[]>CombinedGenerators.byteArrays(Generator<Byte> content, Generator<Integer> size) Create a generator of byte arrays.static Generator<byte[]>CombinedGenerators.byteArrays(Generator<Integer> size) Create a generator of byte arrays.static Generator<byte[]>Generators.byteArrays()Create a generator of byte arrays.static Generator<byte[]>Generators.byteArrays(Generator<Byte> content, Generator<Integer> size) Create a generator of byte arrays.static Generator<byte[]>Generators.byteArrays(Generator<Integer> size) Create a generator of byte arrays.Generators.bytes()Create a new byte generator which creates byte values ranging fromByte.MIN_VALUEtoByte.MAX_VALUE.Generators.bytes(byte lo, byte hi) Create a new byte generator which creates byte values ranging from lo to hi.Generators.bytes(byte lo, byte hi, Distribution distribution) Create a new integer generator which creates integers ranging from lo to hi based on the givenDistribution.PrimitiveGenerators.bytes()Create a new byte generator which creates byte values ranging fromByte.MIN_VALUEtoByte.MAX_VALUE.PrimitiveGenerators.bytes(byte lo, byte hi) Create a new byte generator which creates byte values ranging from lo to hi.PrimitiveGenerators.bytes(byte lo, byte hi, Distribution distribution) Create a new integer generator which creates integers ranging from lo to hi based on the givenDistribution.static <T> Generator<T>Cast a generator to a super type generator.Generators.characters()Create a new character generator.
The characters are from the Basic Latin and Latin-1 Supplement unicode blocks.Generators.characters(char lo, char hi) Create a new character generator which generates characters ranging from lo to hi.Generators.characters(Character... chars) Create a new character generator which generates characters from the given character array.Generators.characters(Iterable<Character> chars) Create a new character generator which generates characters from the given characters.Generators.characters(String string) Create a new character generator which generates characters from the given string.PrimitiveGenerators.characters()Create a new character generator.
The characters are from the Basic Latin and Latin-1 Supplement unicode blocks.PrimitiveGenerators.characters(char lo, char hi) Create a new character generator which generates characters ranging from lo to hi.PrimitiveGenerators.characters(Character... chars) Create a new character generator which generates characters from the given character array.PrimitiveGenerators.characters(Iterable<Character> chars) Create a new character generator which generates characters from the given characters.PrimitiveGenerators.characters(String string) Create a new character generator which generates characters from the given string.static <T> Generator<T>Generators.clonedValues(T prototype) A cloning generator which uses object serialization to create clones of the prototype object.static <T> Generator<T>PrimitiveGenerators.clonedValues(T prototype) A cloning generator which uses object serialization to create clones of the prototype object.Generators.dates()Create a generator for date values.Generators.dates(long low, long high) Create a generator for date values from low to high.Create a generator for date values from low to high with the given precision.Create a generator for date values with the given precision.Create a generator for date values from low to high.PrimitiveGenerators.dates()Create a generator for date values.PrimitiveGenerators.dates(long low, long high) Create a generator for date values from low to high.Create a generator for date values from low to high with the given precision.Create a generator for date values with the given precision.Create a generator for date values from low to high.Generators.doubles()Create a new double generator which creates doubles ranging fromDouble.MIN_VALUEtoDouble.MAX_VALUE.Generators.doubles(double lo, double hi) Create a new double generator which creates doubles ranging from lo to hi.Generators.doubles(double lo, double hi, Distribution distribution) Create a new double generator which creates doubles ranging from lo to hi based on the givenDistribution.PrimitiveGenerators.doubles()Create a new double generator which creates doubles ranging fromDouble.MIN_VALUEtoDouble.MAX_VALUE.PrimitiveGenerators.doubles(double lo, double hi) Create a new double generator which creates doubles ranging from lo to hi.PrimitiveGenerators.doubles(double lo, double hi, Distribution distribution) Create a new double generator which creates doubles ranging from lo to hi based on the givenDistribution.CombinedGenerators.duplicates(Iterable<T> input) Create a generator that produces lists of duplicates.CombinedGenerators.duplicates(T... input) Create a generator that produces lists of duplicates.Generators.duplicates(Iterable<T> input) Create a generator that produces lists of duplicates.Generators.duplicates(T... input) Create a generator that produces lists of duplicates.Generators.enumValues(Class<T> enumClass) Create a generator of enumeration values.Generators.enumValues(Class<T> enumClass, Iterable<T> excludedValues) Create a generator of enumeration values.Generators.enumValues(Class<T> enumClass, T... excluded) Create a generator of enumeration values.PrimitiveGenerators.enumValues(Class<T> enumClass) Create a generator of enumeration values.PrimitiveGenerators.enumValues(Class<T> enumClass, Iterable<T> excludedValues) Create a generator of enumeration values.PrimitiveGenerators.enumValues(Class<T> enumClass, T... excluded) Create a generator of enumeration values.static <T> Generator<T>CombinedGenerators.excludeValues(Generator<T> generator, Iterable<T> excluded) Create a generator that omits a given set of values.static <T> Generator<T>CombinedGenerators.excludeValues(Generator<T> generator, T... excluded) Create a generator that omits a given set of values.static <T> Generator<T>CombinedGenerators.excludeValues(Iterable<T> values, Iterable<T> excluded) Create a generator that omits a given set of values.static <T> Generator<T>CombinedGenerators.excludeValues(Iterable<T> values, T... excluded) Create a generator that omits a given set of values.static <T> Generator<T>Generators.excludeValues(Generator<T> generator, Iterable<T> excluded) Create a generator that omits a given set of values.static <T> Generator<T>Generators.excludeValues(Generator<T> generator, T excluded) Create a generator that omits a given value.static <T> Generator<T>Generators.excludeValues(Generator<T> generator, T... excluded) Create a generator that omits a given set of values.static <T> Generator<T>Generators.excludeValues(Iterable<T> values, Iterable<T> excluded) Create a generator that omits a given set of values.static <T> Generator<T>Generators.excludeValues(Iterable<T> values, T... excluded) Create a generator that omits a given set of values.static <T> Generator<T>Generators.fixedValues(Iterable<T> values) Create a fixed value generator returning one of the values from the values.static <T> Generator<T>Generators.fixedValues(T value) Create a generator for fixed value generator.static <T> Generator<T>Generators.fixedValues(T... values) Create a fixed value generator returning one of the values from the values array.static <T> Generator<T>PrimitiveGenerators.fixedValues(Iterable<T> values) Create a fixed value generator return values.static <T> Generator<T>PrimitiveGenerators.fixedValues(T value) Create a generator for fixed value generator.static <T> Generator<T>PrimitiveGenerators.fixedValues(T... values) Create a fixed value generator return values array.static Generator<int[]>CombinedGenerators.intArrays()Create a generator of integer arrays.static Generator<int[]>Create a generator of integer arrays.static Generator<int[]>Create a generator of integer arrays.static Generator<int[]>Generators.intArrays()Create a generator of integer arrays.static Generator<int[]>Create a generator of integer arrays.static Generator<int[]>Create a generator of integer arrays.Generators.integers()Create a new integer generator which creates integers ranging fromInteger.MIN_VALUEtoInteger.MAX_VALUE.Generators.integers(int low) Create a new integer generator which creates integers that are at equal or greater than low.Generators.integers(int lo, int hi) Create a new integer generator which creates integers ranging from lo to hi.Generators.integers(int lo, int hi, Distribution distribution) Create a new integer generator which creates integers ranging fromlotohibased on the givenDistribution.PrimitiveGenerators.integers()Create a new integer generator which creates integers ranging fromInteger.MIN_VALUEtoInteger.MAX_VALUE.PrimitiveGenerators.integers(int low) Create a new integer generator which creates integers that are at equal or greater than low.PrimitiveGenerators.integers(int lo, int hi) Create a new integer generator which creates integers ranging from lo to hi.PrimitiveGenerators.integers(int lo, int hi, Distribution distribution) Create a new integer generator which creates integers ranging fromlotohibased on the givenDistribution.Create a generator of iterators.Create a generator of iterators.Create a generator of iterators.Create a generator of iterators.Generators.latin1SupplementCharacters()Create a new character generator which generates latin-1 supplement characters.PrimitiveGenerators.latin1SupplementCharacters()Create a new character generator which generates latin-1 supplement characters.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Generators.longs()Create a new long generator which creates longs ranging fromLong.MIN_VALUEtoLong.MAX_VALUE.Generators.longs(long lo, long hi) Create a new long generator which creates longs ranging from lo to hi.Generators.longs(long lo, long hi, Distribution distribution) Create a new long generator which creates longs ranging from lo to hi based on the givenDistribution.PrimitiveGenerators.longs()Create a new long generator which creates longs ranging fromLong.MIN_VALUEtoLong.MAX_VALUE.PrimitiveGenerators.longs(long lo, long hi) Create a new long generator which creates longs ranging from lo to hi.PrimitiveGenerators.longs(long lo, long hi, Distribution distribution) Create a new long generator which creates longs ranging from lo to hi based on the givenDistribution.Create a generator ofmaps.Create a generator ofmaps.Create a generator of maps from a given map.Create a generator of maps from a given map.Create a generator ofmaps.Create a generator ofmaps.Create a generator of maps from a given map.Create a generator of maps from a given map.static <T> Generator<T[]>CombinedGenerators.nonEmptyArrays(Generator<? extends T> content, Class<T> type) Create a generator of arrays that are not empty.static <T> Generator<T[]>Generators.nonEmptyArrays(Generator<? extends T> content, Class<T> type) Create a generator of arrays that are not empty.CombinedGenerators.nonEmptyIterators(Generator<T> content) Create a generator of iterators.Generators.nonEmptyIterators(Generator<T> content) Create a generator of iterators.CombinedGenerators.nonEmptyLists(Generator<? extends T> content) Create a generator of non-empty lists with values from the content generator.Generators.nonEmptyLists(Generator<? extends T> content) Create a generator of non-empty lists with values from the content generator.CombinedGenerators.nonEmptySets(Generator<? extends T> content) Create a generator of sets that are not empty.Generators.nonEmptySets(Generator<? extends T> content) Create a generator of sets that are not empty.static <T> Generator<T>Generators.nulls()Create a generator for null values.static <T> Generator<T>PrimitiveGenerators.nulls()Create a generator for null values.static <T> Generator<T>Create a generator as a combination of a null value generator and generator of type T.static <T> Generator<T>Create a generator as a combination of a null value generator and generator of type T.static <T> Generator<T>CombinedGenerators.nullsAnd(T... values) Create a generator return the given values.static <T> Generator<T>Create a generator as a combination of a null value generator and generator of type T.static <T> Generator<T>Create a generator as a combination of a null value generator and generator of type T.static <T> Generator<T>Generators.nullsAnd(T... values) Create a generator returning a combination of a null values and the given values.Generators.objects()Create a generator forjava.lang.Objectinstances.PrimitiveGenerators.objects()Create a generator forjava.lang.Objectinstances.Create a generator of pairs of type A for the left value and type B for the right value.Create a generator of pairs of type A for the left value and type B for the right value.Generators.positiveIntegers()Create a new integer generator which creates integers ranging from1toInteger.MAX_VALUE.Generators.positiveIntegers(int hi) Create a new integer generator which creates integers ranging from1tomax(which must be at least 1).PrimitiveGenerators.positiveIntegers()Create a new integer generator which creates integers ranging from1toInteger.MAX_VALUE.PrimitiveGenerators.positiveIntegers(int hi) Create a new integer generator which creates integers ranging from1tomax(which must be at least 1).Generators.positiveLongs()Create a new long generator which creates long values ranging from 1 toLong.MAX_VALUE.Generators.positiveLongs(long hi) Create a new long generator which creates long values ranging from 1 to hi.PrimitiveGenerators.positiveLongs()Create a new long generator which creates long values ranging from 1 toLong.MAX_VALUE.PrimitiveGenerators.positiveLongs(long hi) Create a new long generator which creates long values ranging from 1 to hi.Create a generator of sets with values from the content generator.Create a generator of sets with values from the content generator.Create a generator of sets with values from the content generator.Create a generator of subsets from a given set.Create a generator of subsets from a given set.CombinedGenerators.sets(T... superset) Create a generator of sets with values from the content generator.Create a generator of sets with values from the content generator.Create a generator of sets with values from the content generator.Create a generator of subsets from a given set.Create a generator of subsets from a given set.Generators.sets(T... superset) static <T extends Comparable<T>>
Generator<List<T>>CombinedGenerators.sortedLists(Generator<T> content) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<List<T>>CombinedGenerators.sortedLists(Generator<T> content, int low, int high) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<List<T>>CombinedGenerators.sortedLists(Generator<T> content, Generator<Integer> size) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<List<T>>Generators.sortedLists(Generator<T> content) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<List<T>>Generators.sortedLists(Generator<T> content, int low, int high) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<List<T>>Generators.sortedLists(Generator<T> content, Generator<Integer> size) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<Pair<T,T>> CombinedGenerators.sortedPairs(Generator<T> content) Create a generator of pairs where first value <= second value.static <T extends Comparable<T>>
Generator<Pair<T,T>> Generators.sortedPairs(Generator<T> content) Create a generator of pairs where first value <= second value.static <T extends Comparable<T>>
Generator<Triple<T,T, T>> CombinedGenerators.sortedTriple(Generator<T> content) Create a generator of triples where first value <= second value <= third value.static <T extends Comparable<T>>
Generator<Triple<T,T, T>> Generators.sortedTriple(Generator<T> content) Create a generator of triples where first value <= second value <= third value.static <T extends Comparable<T>>
Generator<List<T>>CombinedGenerators.strictlyOrdered(Generator<T> input) A generator for a lists.static <T extends Comparable<T>>
Generator<List<T>>CombinedGenerators.strictlyOrdered(Generator<T> input, int low, int high) A generator for a lists.CombinedGenerators.strictlyOrdered(Generator<T> input, Comparator<T> comparator) A generator for a lists.CombinedGenerators.strictlyOrdered(Generator<T> input, Comparator<T> comparator, Generator<Integer> size) A generator for a lists.static <T extends Comparable<T>>
Generator<List<T>>Generators.strictlyOrdered(Generator<T> input) A generator for a lists.static <T extends Comparable<T>>
Generator<List<T>>Generators.strictlyOrdered(Generator<T> input, int low, int high) A generator for a lists.Generators.strictlyOrdered(Generator<T> input, Comparator<T> comparator) A generator for a lists.Generators.strictlyOrdered(Generator<T> input, Comparator<T> comparator, Generator<Integer> size) A generator for a lists.Generators.substrings(String base) Create a new string generator for substrings of a base string.Generators.substrings(String base, int size) Create a new string generator for substrings of a base string.Generators.substrings(String base, int minSize, int maxSize) Create a new string generator for substrings of a base string.PrimitiveGenerators.substrings(String base) Create a new string generator for substrings of a base string.PrimitiveGenerators.substrings(String base, int size) Create a new string generator for substrings of a base string.PrimitiveGenerators.substrings(String base, int minSize, int maxSize) Create a new string generator for substrings of a base string.Create a generator of triples of the types A, B and C for first, second and third value.Create a generator of triples of the types A, B and C for first, second and third value.Create a generator which will create vectors (here lists) of type T.Create a generator which will create vectors (here lists) of type T.Methods in de.cuioss.test.generator.internal.net.java.quickcheck.generator with parameters of type GeneratorModifier and TypeMethodDescriptionstatic <T> Generator<T[]>Create a generator of arrays with values from the content generator.static <T> Generator<T[]>Create a generator of arrays with values from the content generator.static <T> Generator<T[]>Create a generator of arrays with values from the content generator.static <T> Generator<T[]>Create a generator of arrays with values from the content generator.static Generator<byte[]>CombinedGenerators.byteArrays(Generator<Byte> content, Generator<Integer> size) Create a generator of byte arrays.static Generator<byte[]>CombinedGenerators.byteArrays(Generator<Integer> size) Create a generator of byte arrays.static Generator<byte[]>Generators.byteArrays(Generator<Byte> content, Generator<Integer> size) Create a generator of byte arrays.static Generator<byte[]>Generators.byteArrays(Generator<Integer> size) Create a generator of byte arrays.static <T> Generator<T>Cast a generator to a super type generator.static <T> StatefulGenerator<T>CombinedGenerators.ensureValues(Iterable<T> ensuredValues, int window, Generator<T> otherValues) Create a generator which guarantees that all values from the ensuredValues will be returnnext()are issued.static <T> StatefulGenerator<T>CombinedGenerators.ensureValues(Iterable<T> ensuredValues, Generator<T> otherValues) Create a deterministic generator which guarantees that all values from the ensuredValues collection will be returnnext()are issued (i.e.static <T> StatefulGenerator<T>Generators.ensureValues(Iterable<T> ensuredValues, int window, Generator<T> otherValues) Create a generator which guarantees that all values from the ensuredValues will be returned in a defined window when enough calls tonext()are issued.static <T> StatefulGenerator<T>Generators.ensureValues(Iterable<T> ensuredValues, Generator<T> otherValues) Create a deterministic generator which guarantees that all values from the ensuredValues collection will be returned if enough calls tonext()are issued (i.e.static <T> Generator<T>CombinedGenerators.excludeValues(Generator<T> generator, Iterable<T> excluded) Create a generator that omits a given set of values.static <T> Generator<T>CombinedGenerators.excludeValues(Generator<T> generator, T... excluded) Create a generator that omits a given set of values.static <T> Generator<T>Generators.excludeValues(Generator<T> generator, Iterable<T> excluded) Create a generator that omits a given set of values.static <T> Generator<T>Generators.excludeValues(Generator<T> generator, T excluded) Create a generator that omits a given value.static <T> Generator<T>Generators.excludeValues(Generator<T> generator, T... excluded) Create a generator that omits a given set of values.static <T> FrequencyGenerator<T>Create a frequency generator.static <T> FrequencyGenerator<T>Create a frequency generator.static Generator<int[]>Create a generator of integer arrays.static Generator<int[]>Create a generator of integer arrays.static Generator<int[]>Create a generator of integer arrays.static Generator<int[]>Create a generator of integer arrays.Create a generator of iterators.Create a generator of iterators.Create a generator of iterators.Create a generator of iterators.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator of lists with values from the content generator.Create a generator ofmaps.Create a generator ofmaps.Create a generator of maps from a given map.Create a generator ofmaps.Create a generator ofmaps.Create a generator of maps from a given map.static <T> Generator<T[]>CombinedGenerators.nonEmptyArrays(Generator<? extends T> content, Class<T> type) Create a generator of arrays that are not empty.static <T> Generator<T[]>Generators.nonEmptyArrays(Generator<? extends T> content, Class<T> type) Create a generator of arrays that are not empty.CombinedGenerators.nonEmptyIterators(Generator<T> content) Create a generator of iterators.Generators.nonEmptyIterators(Generator<T> content) Create a generator of iterators.CombinedGenerators.nonEmptyLists(Generator<? extends T> content) Create a generator of non-empty lists with values from the content generator.Generators.nonEmptyLists(Generator<? extends T> content) Create a generator of non-empty lists with values from the content generator.CombinedGenerators.nonEmptySets(Generator<? extends T> content) Create a generator of sets that are not empty.Generators.nonEmptySets(Generator<? extends T> content) Create a generator of sets that are not empty.static <T> Generator<T>Create a generator as a combination of a null value generator and generator of type T.static <T> Generator<T>Create a generator as a combination of a null value generator and generator of type T.static <T> Generator<T>Create a generator as a combination of a null value generator and generator of type T.static <T> Generator<T>Create a generator as a combination of a null value generator and generator of type T.static <T> ExtendibleGenerator<T,T> OneOf is a convenience method forCombinedGenerators.frequency(Generator, int)when all generator share the same weight.static <T> ExtendibleGenerator<T,T> OneOf is a convenience method forGenerators.frequency(Generator, int)when all generator share the same weight.Create a generator of pairs of type A for the left value and type B for the right value.Create a generator of pairs of type A for the left value and type B for the right value.Create a generator of sets with values from the content generator.Create a generator of sets with values from the content generator.Create a generator of sets with values from the content generator.Create a generator of subsets from a given set.Create a generator of sets with values from the content generator.Create a generator of sets with values from the content generator.Create a generator of sets with values from the content generator.Create a generator of subsets from a given set.static <T extends Comparable<T>>
Generator<List<T>>CombinedGenerators.sortedLists(Generator<T> content) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<List<T>>CombinedGenerators.sortedLists(Generator<T> content, int low, int high) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<List<T>>CombinedGenerators.sortedLists(Generator<T> content, Generator<Integer> size) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<List<T>>Generators.sortedLists(Generator<T> content) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<List<T>>Generators.sortedLists(Generator<T> content, int low, int high) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<List<T>>Generators.sortedLists(Generator<T> content, Generator<Integer> size) Create a generator of sorted lists with values from the content generator.static <T extends Comparable<T>>
Generator<Pair<T,T>> CombinedGenerators.sortedPairs(Generator<T> content) Create a generator of pairs where first value <= second value.static <T extends Comparable<T>>
Generator<Pair<T,T>> Generators.sortedPairs(Generator<T> content) Create a generator of pairs where first value <= second value.static <T extends Comparable<T>>
Generator<Triple<T,T, T>> CombinedGenerators.sortedTriple(Generator<T> content) Create a generator of triples where first value <= second value <= third value.static <T extends Comparable<T>>
Generator<Triple<T,T, T>> Generators.sortedTriple(Generator<T> content) Create a generator of triples where first value <= second value <= third value.static <T extends Comparable<T>>
Generator<List<T>>CombinedGenerators.strictlyOrdered(Generator<T> input) A generator for a lists.static <T extends Comparable<T>>
Generator<List<T>>CombinedGenerators.strictlyOrdered(Generator<T> input, int low, int high) A generator for a lists.CombinedGenerators.strictlyOrdered(Generator<T> input, Comparator<T> comparator) A generator for a lists.CombinedGenerators.strictlyOrdered(Generator<T> input, Comparator<T> comparator, Generator<Integer> size) A generator for a lists.static <T extends Comparable<T>>
Generator<List<T>>Generators.strictlyOrdered(Generator<T> input) A generator for a lists.static <T extends Comparable<T>>
Generator<List<T>>Generators.strictlyOrdered(Generator<T> input, int low, int high) A generator for a lists.Generators.strictlyOrdered(Generator<T> input, Comparator<T> comparator) A generator for a lists.Generators.strictlyOrdered(Generator<T> input, Comparator<T> comparator, Generator<Integer> size) A generator for a lists.static ExtendibleGenerator<Character,String> Create a new string generator which creates strings of characters generated by the given character generator.static ExtendibleGenerator<Character,String> Create a new string generator which creates strings of characters generated by the given character generator with a length generated by the length generator.static ExtendibleGenerator<Character,String> Create a new string generator which creates strings of characters generated by the given character generator.static ExtendibleGenerator<Character,String> Create a new string generator which creates strings of characters generated by the given character generator with a length generated by the length generator.static <T> Iterable<T>Generators.toIterable(Generator<T> generator) static <T> Iterable<T>Generators.toIterable(Generator<T> generator, int numberOfRuns) Convert a generator into aniterable.Create a generator of triples of the types A, B and C for first, second and third value.Create a generator of triples of the types A, B and C for first, second and third value.static <T> StatefulGenerator<T>CombinedGenerators.uniqueValues(Generator<T> generator) Create a generator that ensures unique valuesstatic <T> StatefulGenerator<T>CombinedGenerators.uniqueValues(Generator<T> generator, int tries) Create a generator that ensures unique values.static <T> StatefulGenerator<T>CombinedGenerators.uniqueValues(Generator<T> generator, Comparator<? super T> comparator) Create a generator that ensures unique values.static <T> StatefulGenerator<T>CombinedGenerators.uniqueValues(Generator<T> generator, Comparator<? super T> comparator, int tries) Create a generator that ensures unique values.static <T> StatefulGenerator<T>Generators.uniqueValues(Generator<T> generator) Create a generator that ensures unique valuesstatic <T> StatefulGenerator<T>Generators.uniqueValues(Generator<T> generator, int tries) Create a generator that ensures unique values.static <T> StatefulGenerator<T>Generators.uniqueValues(Generator<T> generator, Comparator<? super T> comparator) Create a generator that ensures unique values.static <T> StatefulGenerator<T>Generators.uniqueValues(Generator<T> generator, Comparator<? super T> comparator, int tries) Create a generator that ensures unique values.Create a generator which will create vectors (here lists) of type T.Create a generator which will create vectors (here lists) of type T. -
Uses of Generator in de.cuioss.test.generator.internal.net.java.quickcheck.generator.iterable
Methods in de.cuioss.test.generator.internal.net.java.quickcheck.generator.iterable with parameters of type GeneratorModifier and TypeMethodDescriptionstatic <T> Iterable<T>Iterables.toIterable(Generator<T> generator) static <T> Iterable<T>Iterables.toIterable(Generator<T> generator, int numberOfRuns) Convert a generator into aniterable. -
Uses of Generator in de.cuioss.test.generator.internal.net.java.quickcheck.generator.support
Classes in de.cuioss.test.generator.internal.net.java.quickcheck.generator.support that implement GeneratorModifier and TypeClassDescriptionclassGeneratorimplementation that transforms input generator test cases of type I to output test cases of type T.classBase class for tree generators.classclassclassclassclassA cloning generator which uses object serialization to create clones of the prototype object.classclassclassclassclassclassclassclassclassclassclassclassclassMapGenerator<K,V> classObjectGeneratorimplementation that can generate object graphs with default primitive value generators.classclassclassclassSetGenerator<T>classGenerator for the default collection size.classSortedListGenerator<T extends Comparable<T>>classclassclassSubmapGenerator<K,V> classclassclassclassclassBase class for generators which can reject the values generated by their wrapped generator.Methods in de.cuioss.test.generator.internal.net.java.quickcheck.generator.support with parameters of type GeneratorConstructors in de.cuioss.test.generator.internal.net.java.quickcheck.generator.support with parameters of type GeneratorModifierConstructorDescriptionprotectedAbstractTransformerGenerator(Generator<I> inputGenerator) ArrayGenerator(Generator<? extends T> content, Class<T> type) ByteArrayGenerator(Generator<Byte> content, Generator<Integer> size) ByteArrayGenerator(Generator<Integer> size) DefaultFrequencyGenerator(Generator<T> generator) DefaultFrequencyGenerator(Generator<T> generator, int weight) EnsuredValuesGenerator(Iterable<T> ensured, int window, Generator<T> random) EnsuredValuesGenerator(Iterable<T> ensured, Generator<T> random) ExcludingGenerator(Generator<T> generator, Iterable<T> excluded, int tries) IntegerArrayGenerator(Generator<Integer> content, Generator<Integer> size) IteratorGenerator(Generator<? extends T> content) IteratorGenerator(Generator<? extends T> content, int min, int max) IteratorGenerator(Generator<? extends T> content, Generator<Integer> size) ListGenerator(Generator<? extends T> content) ListGenerator(Generator<? extends T> content, int min, int max) ListGenerator(Generator<? extends T> content, Generator<Integer> size) MapGenerator(Generator<K> keys, Generator<V> values) SetGenerator(Generator<? extends T> content) SetGenerator(Generator<? extends T> content, int tries) SetGenerator(Generator<? extends T> content, Generator<Integer> size, int tries) SortedListGenerator(Generator<T> input) SortedListGenerator(Generator<T> input, Generator<Integer> size) StrictlyOrderedGenerator(Generator<T> input, Comparator<T> comparator, Generator<Integer> sizes) StringGenerator(Generator<Character> characters) StringGenerator(Generator<Integer> length, Generator<Character> characters) SubsetGenerator(Iterable<T> superset, Generator<Integer> size) TupleGenerator(Generator<?>... generators) UniqueComparableValuesGenerator(Generator<T> generator, Comparator<? super T> comparator, int maxTries) UniqueValuesGenerator(Generator<? extends T> generator, int defaultMaxTries) protectedVetoableGenerator(Generator<? extends T> generator) protectedVetoableGenerator(Generator<? extends T> generator, int maxTries) Constructor parameters in de.cuioss.test.generator.internal.net.java.quickcheck.generator.support with type arguments of type Generator