net.java.quickcheck.generator
Class CombinedGeneratorSamples

java.lang.Object
  extended by net.java.quickcheck.generator.CombinedGeneratorSamples

public class CombinedGeneratorSamples
extends Object


Constructor Summary
CombinedGeneratorSamples()
           
 
Method Summary
static
<T> T[]
anyArray(Generator<? extends T> content, Class<T> type)
          See documentation of CombinedGenerators.arrays(net.java.quickcheck.Generator, java.lang.Class).
static
<T> T[]
anyArray(Generator<? extends T> content, Generator<Integer> size, Class<T> type)
          See documentation of CombinedGenerators.arrays(net.java.quickcheck.Generator, java.lang.Class).
static byte[] anyByteArray()
          See documentation of CombinedGenerators.byteArrays().
static byte[] anyByteArray(Generator<Byte> content, Generator<Integer> size)
          See documentation of CombinedGenerators.byteArrays().
static byte[] anyByteArray(Generator<Integer> size)
          See documentation of CombinedGenerators.byteArrays().
static
<T> T
anyEnsureValue(Collection<T> ensuredValues)
          See documentation of CombinedGenerators.ensureValues(java.util.Collection).
static
<T> T
anyEnsureValue(Collection<T> ensuredValues, Generator<T> otherValues)
          See documentation of CombinedGenerators.ensureValues(java.util.Collection).
static
<T> T
anyEnsureValue(T... content)
          See documentation of CombinedGenerators.ensureValues(java.util.Collection).
static
<T> T
anyExcludeValue(Collection<T> values, Collection<T> excluded)
          See documentation of CombinedGenerators.excludeValues(net.java.quickcheck.Generator, T).
static
<T> T
anyExcludeValue(Collection<T> values, T... excluded)
          See documentation of CombinedGenerators.excludeValues(net.java.quickcheck.Generator, T).
static
<T> T
anyExcludeValue(Generator<T> generator, Collection<T> excluded)
          See documentation of CombinedGenerators.excludeValues(net.java.quickcheck.Generator, T).
static
<T> T
anyExcludeValue(Generator<T> generator, T... excluded)
          See documentation of CombinedGenerators.excludeValues(net.java.quickcheck.Generator, T).
static
<T> T
anyExcludeValue(Generator<T> generator, T excluded)
          See documentation of CombinedGenerators.excludeValues(net.java.quickcheck.Generator, T).
static
<T> T
anyFrequency(Generator<T> generator, int weight)
          See documentation of CombinedGenerators.frequency(net.java.quickcheck.Generator, int).
static int[] anyIntArray()
          See documentation of CombinedGenerators.intArrays().
static int[] anyIntArray(Generator<Integer> size)
          See documentation of CombinedGenerators.intArrays().
static int[] anyIntArray(Generator<Integer> content, Generator<Integer> size)
          See documentation of CombinedGenerators.intArrays().
static
<T> Iterator<T>
anyIterator(Generator<? extends T> content)
          See documentation of CombinedGenerators.iterators(net.java.quickcheck.Generator).
static
<T> Iterator<T>
anyIterator(Generator<? extends T> content, Generator<Integer> size)
          See documentation of CombinedGenerators.iterators(net.java.quickcheck.Generator).
static
<T> List<T>
anyList(Generator<? extends T> content)
          See documentation of CombinedGenerators.lists(net.java.quickcheck.Generator).
static
<T> List<T>
anyList(Generator<? extends T> content, Generator<Integer> size)
          See documentation of CombinedGenerators.lists(net.java.quickcheck.Generator).
static
<T> List<T>
anyList(Generator<? extends T> content, int low)
          See documentation of CombinedGenerators.lists(net.java.quickcheck.Generator).
static
<T> List<T>
anyList(Generator<? extends T> content, int low, int high)
          See documentation of CombinedGenerators.lists(net.java.quickcheck.Generator).
static
<K,V> Map<K,V>
anyMap(Generator<K> keys, Generator<V> values)
          See documentation of CombinedGenerators.maps(net.java.quickcheck.Generator, net.java.quickcheck.Generator).
static
<K,V> Map<K,V>
anyMap(Generator<K> keys, Generator<V> values, Generator<Integer> size)
          See documentation of CombinedGenerators.maps(net.java.quickcheck.Generator, net.java.quickcheck.Generator).
static
<K,V> Map<K,V>
anyMap(Map<K,V> supermap)
          See documentation of CombinedGenerators.maps(net.java.quickcheck.Generator, net.java.quickcheck.Generator).
static
<K,V> Map<K,V>
anyMap(Map<K,V> supermap, Generator<Integer> sizes)
          See documentation of CombinedGenerators.maps(net.java.quickcheck.Generator, net.java.quickcheck.Generator).
static
<T> T[]
anyNonEmptyArray(Generator<? extends T> content, Class<T> type)
          See documentation of CombinedGenerators.nonEmptyArrays(net.java.quickcheck.Generator, java.lang.Class).
static
<T> Iterator<T>
anyNonEmptyIterator(Generator<T> content)
          See documentation of CombinedGenerators.nonEmptyIterators(net.java.quickcheck.Generator).
static
<T> List<T>
anyNonEmptyList(Generator<? extends T> content)
          See documentation of CombinedGenerators.nonEmptyLists(net.java.quickcheck.Generator).
static
<T> Set<T>
anyNonEmptySet(Generator<? extends T> content)
          See documentation of CombinedGenerators.nonEmptySets(net.java.quickcheck.Generator).
static
<T> T
anyNullsAnd(Generator<T> generator)
          See documentation of CombinedGenerators.nullsAnd(net.java.quickcheck.Generator).
static
<T> T
anyNullsAnd(Generator<T> generator, int weight)
          See documentation of CombinedGenerators.nullsAnd(net.java.quickcheck.Generator).
static
<T> T
anyOneOf(Generator<T> generator)
          See documentation of CombinedGenerators.oneOf(net.java.quickcheck.Generator).
static
<A,B> Pair<A,B>
anyPair(Generator<A> first, Generator<B> second)
          See documentation of CombinedGenerators.pairs(net.java.quickcheck.Generator, net.java.quickcheck.Generator).
static
<T> Set<T>
anySet(Generator<? extends T> content)
          See documentation of CombinedGenerators.sets(net.java.quickcheck.Generator).
static
<T> Set<T>
anySet(Generator<? extends T> content, Generator<Integer> size)
          See documentation of CombinedGenerators.sets(net.java.quickcheck.Generator).
static
<T> Set<T>
anySet(Generator<? extends T> content, int low, int high)
          See documentation of CombinedGenerators.sets(net.java.quickcheck.Generator).
static
<T> Set<T>
anySet(Set<T> superset)
          See documentation of CombinedGenerators.sets(net.java.quickcheck.Generator).
static
<T> Set<T>
anySet(Set<T> superset, Generator<Integer> size)
          See documentation of CombinedGenerators.sets(net.java.quickcheck.Generator).
static
<T extends Comparable<T>>
List<T>
anySortedList(Generator<T> content)
          See documentation of CombinedGenerators.sortedLists(net.java.quickcheck.Generator).
static
<T extends Comparable<T>>
List<T>
anySortedList(Generator<T> content, Generator<Integer> size)
          See documentation of CombinedGenerators.sortedLists(net.java.quickcheck.Generator).
static
<T extends Comparable<T>>
List<T>
anySortedList(Generator<T> content, int low, int high)
          See documentation of CombinedGenerators.sortedLists(net.java.quickcheck.Generator).
static
<A,B,C> Triple<A,B,C>
anyTriple(Generator<A> first, Generator<B> second, Generator<C> third)
          See documentation of CombinedGenerators.triples(net.java.quickcheck.Generator, net.java.quickcheck.Generator, net.java.quickcheck.Generator).
static
<T> T
anyUniqueValue(Generator<T> generator)
          See documentation of CombinedGenerators.uniqueValues(net.java.quickcheck.Generator, int).
static
<T> T
anyUniqueValue(Generator<T> generator, Comparator<? super T> comparator)
          See documentation of CombinedGenerators.uniqueValues(net.java.quickcheck.Generator, int).
static
<T> T
anyUniqueValue(Generator<T> generator, Comparator<? super T> comparator, int tries)
          See documentation of CombinedGenerators.uniqueValues(net.java.quickcheck.Generator, int).
static
<T> T
anyUniqueValue(Generator<T> generator, int tries)
          See documentation of CombinedGenerators.uniqueValues(net.java.quickcheck.Generator, int).
static
<T> List<T>
anyVector(Generator<T> content, int size)
          See documentation of CombinedGenerators.vectors(net.java.quickcheck.Generator, int).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedGeneratorSamples

public CombinedGeneratorSamples()
Method Detail

anyNonEmptyIterator

public static <T> Iterator<T> anyNonEmptyIterator(Generator<T> content)
See documentation of CombinedGenerators.nonEmptyIterators(net.java.quickcheck.Generator).


anyEnsureValue

public static <T> T anyEnsureValue(Collection<T> ensuredValues)
See documentation of CombinedGenerators.ensureValues(java.util.Collection).


anyEnsureValue

public static <T> T anyEnsureValue(T... content)
See documentation of CombinedGenerators.ensureValues(java.util.Collection).


anyEnsureValue

public static <T> T anyEnsureValue(Collection<T> ensuredValues,
                                   Generator<T> otherValues)
See documentation of CombinedGenerators.ensureValues(java.util.Collection).


anySet

public static <T> Set<T> anySet(Generator<? extends T> content)
See documentation of CombinedGenerators.sets(net.java.quickcheck.Generator).


anySet

public static <T> Set<T> anySet(Generator<? extends T> content,
                                Generator<Integer> size)
See documentation of CombinedGenerators.sets(net.java.quickcheck.Generator).


anySet

public static <T> Set<T> anySet(Generator<? extends T> content,
                                int low,
                                int high)
See documentation of CombinedGenerators.sets(net.java.quickcheck.Generator).


anySet

public static <T> Set<T> anySet(Set<T> superset)
See documentation of CombinedGenerators.sets(net.java.quickcheck.Generator).


anySet

public static <T> Set<T> anySet(Set<T> superset,
                                Generator<Integer> size)
See documentation of CombinedGenerators.sets(net.java.quickcheck.Generator).


anyIntArray

public static int[] anyIntArray()
See documentation of CombinedGenerators.intArrays().


anyIntArray

public static int[] anyIntArray(Generator<Integer> size)
See documentation of CombinedGenerators.intArrays().


anyIntArray

public static int[] anyIntArray(Generator<Integer> content,
                                Generator<Integer> size)
See documentation of CombinedGenerators.intArrays().


anyNonEmptyArray

public static <T> T[] anyNonEmptyArray(Generator<? extends T> content,
                                       Class<T> type)
See documentation of CombinedGenerators.nonEmptyArrays(net.java.quickcheck.Generator, java.lang.Class).


anyPair

public static <A,B> Pair<A,B> anyPair(Generator<A> first,
                                      Generator<B> second)
See documentation of CombinedGenerators.pairs(net.java.quickcheck.Generator, net.java.quickcheck.Generator).


anyByteArray

public static byte[] anyByteArray()
See documentation of CombinedGenerators.byteArrays().


anyByteArray

public static byte[] anyByteArray(Generator<Integer> size)
See documentation of CombinedGenerators.byteArrays().


anyByteArray

public static byte[] anyByteArray(Generator<Byte> content,
                                  Generator<Integer> size)
See documentation of CombinedGenerators.byteArrays().


anyVector

public static <T> List<T> anyVector(Generator<T> content,
                                    int size)
See documentation of CombinedGenerators.vectors(net.java.quickcheck.Generator, int).


anyTriple

public static <A,B,C> Triple<A,B,C> anyTriple(Generator<A> first,
                                              Generator<B> second,
                                              Generator<C> third)
See documentation of CombinedGenerators.triples(net.java.quickcheck.Generator, net.java.quickcheck.Generator, net.java.quickcheck.Generator).


anyNullsAnd

public static <T> T anyNullsAnd(Generator<T> generator)
See documentation of CombinedGenerators.nullsAnd(net.java.quickcheck.Generator).


anyNullsAnd

public static <T> T anyNullsAnd(Generator<T> generator,
                                int weight)
See documentation of CombinedGenerators.nullsAnd(net.java.quickcheck.Generator).


anyOneOf

public static <T> T anyOneOf(Generator<T> generator)
See documentation of CombinedGenerators.oneOf(net.java.quickcheck.Generator).


anyExcludeValue

public static <T> T anyExcludeValue(Generator<T> generator,
                                    T excluded)
See documentation of CombinedGenerators.excludeValues(net.java.quickcheck.Generator, T).


anyExcludeValue

public static <T> T anyExcludeValue(Generator<T> generator,
                                    T... excluded)
See documentation of CombinedGenerators.excludeValues(net.java.quickcheck.Generator, T).


anyExcludeValue

public static <T> T anyExcludeValue(Collection<T> values,
                                    T... excluded)
See documentation of CombinedGenerators.excludeValues(net.java.quickcheck.Generator, T).


anyExcludeValue

public static <T> T anyExcludeValue(Collection<T> values,
                                    Collection<T> excluded)
See documentation of CombinedGenerators.excludeValues(net.java.quickcheck.Generator, T).


anyExcludeValue

public static <T> T anyExcludeValue(Generator<T> generator,
                                    Collection<T> excluded)
See documentation of CombinedGenerators.excludeValues(net.java.quickcheck.Generator, T).


anyUniqueValue

public static <T> T anyUniqueValue(Generator<T> generator,
                                   int tries)
See documentation of CombinedGenerators.uniqueValues(net.java.quickcheck.Generator, int).


anyUniqueValue

public static <T> T anyUniqueValue(Generator<T> generator,
                                   Comparator<? super T> comparator,
                                   int tries)
See documentation of CombinedGenerators.uniqueValues(net.java.quickcheck.Generator, int).


anyUniqueValue

public static <T> T anyUniqueValue(Generator<T> generator,
                                   Comparator<? super T> comparator)
See documentation of CombinedGenerators.uniqueValues(net.java.quickcheck.Generator, int).


anyUniqueValue

public static <T> T anyUniqueValue(Generator<T> generator)
See documentation of CombinedGenerators.uniqueValues(net.java.quickcheck.Generator, int).


anyFrequency

public static <T> T anyFrequency(Generator<T> generator,
                                 int weight)
See documentation of CombinedGenerators.frequency(net.java.quickcheck.Generator, int).


anyNonEmptyList

public static <T> List<T> anyNonEmptyList(Generator<? extends T> content)
See documentation of CombinedGenerators.nonEmptyLists(net.java.quickcheck.Generator).


anyNonEmptySet

public static <T> Set<T> anyNonEmptySet(Generator<? extends T> content)
See documentation of CombinedGenerators.nonEmptySets(net.java.quickcheck.Generator).


anyList

public static <T> List<T> anyList(Generator<? extends T> content,
                                  int low)
See documentation of CombinedGenerators.lists(net.java.quickcheck.Generator).


anyList

public static <T> List<T> anyList(Generator<? extends T> content,
                                  int low,
                                  int high)
See documentation of CombinedGenerators.lists(net.java.quickcheck.Generator).


anyList

public static <T> List<T> anyList(Generator<? extends T> content,
                                  Generator<Integer> size)
See documentation of CombinedGenerators.lists(net.java.quickcheck.Generator).


anyList

public static <T> List<T> anyList(Generator<? extends T> content)
See documentation of CombinedGenerators.lists(net.java.quickcheck.Generator).


anyIterator

public static <T> Iterator<T> anyIterator(Generator<? extends T> content,
                                          Generator<Integer> size)
See documentation of CombinedGenerators.iterators(net.java.quickcheck.Generator).


anyIterator

public static <T> Iterator<T> anyIterator(Generator<? extends T> content)
See documentation of CombinedGenerators.iterators(net.java.quickcheck.Generator).


anyMap

public static <K,V> Map<K,V> anyMap(Generator<K> keys,
                                    Generator<V> values)
See documentation of CombinedGenerators.maps(net.java.quickcheck.Generator, net.java.quickcheck.Generator).


anyMap

public static <K,V> Map<K,V> anyMap(Generator<K> keys,
                                    Generator<V> values,
                                    Generator<Integer> size)
See documentation of CombinedGenerators.maps(net.java.quickcheck.Generator, net.java.quickcheck.Generator).


anyMap

public static <K,V> Map<K,V> anyMap(Map<K,V> supermap)
See documentation of CombinedGenerators.maps(net.java.quickcheck.Generator, net.java.quickcheck.Generator).


anyMap

public static <K,V> Map<K,V> anyMap(Map<K,V> supermap,
                                    Generator<Integer> sizes)
See documentation of CombinedGenerators.maps(net.java.quickcheck.Generator, net.java.quickcheck.Generator).


anySortedList

public static <T extends Comparable<T>> List<T> anySortedList(Generator<T> content,
                                                              Generator<Integer> size)
See documentation of CombinedGenerators.sortedLists(net.java.quickcheck.Generator).


anySortedList

public static <T extends Comparable<T>> List<T> anySortedList(Generator<T> content,
                                                              int low,
                                                              int high)
See documentation of CombinedGenerators.sortedLists(net.java.quickcheck.Generator).


anySortedList

public static <T extends Comparable<T>> List<T> anySortedList(Generator<T> content)
See documentation of CombinedGenerators.sortedLists(net.java.quickcheck.Generator).


anyArray

public static <T> T[] anyArray(Generator<? extends T> content,
                               Class<T> type)
See documentation of CombinedGenerators.arrays(net.java.quickcheck.Generator, java.lang.Class).


anyArray

public static <T> T[] anyArray(Generator<? extends T> content,
                               Generator<Integer> size,
                               Class<T> type)
See documentation of CombinedGenerators.arrays(net.java.quickcheck.Generator, java.lang.Class).



Copyright © 2011. All Rights Reserved.