net.java.quickcheck.generator
Class PrimitiveGeneratorSamples

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

public class PrimitiveGeneratorSamples
extends Object


Constructor Summary
PrimitiveGeneratorSamples()
           
 
Method Summary
static Character anyBasicLatinCharacter()
          See documentation of PrimitiveGenerators.basicLatinCharacters().
static Boolean anyBoolean()
          See documentation of PrimitiveGenerators.booleans().
static Byte anyByte()
          See documentation of PrimitiveGenerators.bytes().
static Byte anyByte(byte lo, byte hi)
          See documentation of PrimitiveGenerators.bytes().
static Byte anyByte(byte lo, byte hi, Distribution distribution)
          See documentation of PrimitiveGenerators.bytes().
static Character anyCharacter()
          See documentation of PrimitiveGenerators.characters(char, char).
static Character anyCharacter(Character... chars)
          See documentation of PrimitiveGenerators.characters(char, char).
static Character anyCharacter(char lo, char hi)
          See documentation of PrimitiveGenerators.characters(char, char).
static Character anyCharacter(Collection<Character> chars)
          See documentation of PrimitiveGenerators.characters(char, char).
static Character anyCharacter(String string)
          See documentation of PrimitiveGenerators.characters(char, char).
static
<T> T
anyClonedValue(T prototype)
          See documentation of PrimitiveGenerators.clonedValues(T).
static Date anyDate()
          See documentation of PrimitiveGenerators.dates().
static Date anyDate(Date low, Date high)
          See documentation of PrimitiveGenerators.dates().
static Date anyDate(long low, long high)
          See documentation of PrimitiveGenerators.dates().
static Date anyDate(Long low, Long high, TimeUnit precision)
          See documentation of PrimitiveGenerators.dates().
static Date anyDate(TimeUnit precision)
          See documentation of PrimitiveGenerators.dates().
static
<T> T
anyDefaultObject(Class<T> objectType)
          See documentation of PrimitiveGenerators.defaultObjects(java.lang.Class).
static Double anyDouble()
          See documentation of PrimitiveGenerators.doubles().
static Double anyDouble(double lo, double hi)
          See documentation of PrimitiveGenerators.doubles().
static Double anyDouble(double lo, double hi, Distribution distribution)
          See documentation of PrimitiveGenerators.doubles().
static
<T extends Enum<T>>
T
anyEnumValue(Class<T> enumClass)
          See documentation of PrimitiveGenerators.enumValues(java.lang.Class).
static
<T extends Enum<T>>
T
anyEnumValue(Class<T> enumClass, Collection<T> excludedCollection)
          See documentation of PrimitiveGenerators.enumValues(java.lang.Class).
static
<T extends Enum<T>>
T
anyEnumValue(Class<T> enumClass, T... excluded)
          See documentation of PrimitiveGenerators.enumValues(java.lang.Class).
static
<T> T
anyFixedValue(Collection<T> values)
          See documentation of PrimitiveGenerators.fixedValues(T).
static
<T> T
anyFixedValue(T... values)
          See documentation of PrimitiveGenerators.fixedValues(T).
static
<T> T
anyFixedValue(T value)
          See documentation of PrimitiveGenerators.fixedValues(T).
static Integer anyInteger()
          See documentation of PrimitiveGenerators.integers().
static Integer anyInteger(int low)
          See documentation of PrimitiveGenerators.integers().
static Integer anyInteger(int lo, int hi)
          See documentation of PrimitiveGenerators.integers().
static Integer anyInteger(int lo, int hi, Distribution distribution)
          See documentation of PrimitiveGenerators.integers().
static Character anyLatin1SupplementCharacter()
          See documentation of PrimitiveGenerators.latin1SupplementCharacters().
static String anyLetterString()
          See documentation of PrimitiveGenerators.letterStrings().
static String anyLetterString(int min, int max)
          See documentation of PrimitiveGenerators.letterStrings().
static Long anyLong()
          See documentation of PrimitiveGenerators.longs().
static Long anyLong(long lo, long hi)
          See documentation of PrimitiveGenerators.longs().
static Long anyLong(long lo, long hi, Distribution distribution)
          See documentation of PrimitiveGenerators.longs().
static String anyNonEmptyString()
          See documentation of PrimitiveGenerators.nonEmptyStrings().
static
<T> T
anyNull()
          See documentation of PrimitiveGenerators.nulls().
static Object anyObject()
          See documentation of PrimitiveGenerators.objects().
static
<T> T
anyObject(Class<T> objectType)
          See documentation of PrimitiveGenerators.objects().
static Integer anyPositiveInteger()
          See documentation of PrimitiveGenerators.positiveIntegers().
static Integer anyPositiveInteger(int high)
          See documentation of PrimitiveGenerators.positiveIntegers().
static Long anyPositiveLong()
          See documentation of PrimitiveGenerators.positiveLongs().
static Long anyPositiveLong(long hi)
          See documentation of PrimitiveGenerators.positiveLongs().
static String anyPrintableString()
          See documentation of PrimitiveGenerators.printableStrings().
static String anyString()
          See documentation of PrimitiveGenerators.strings().
static String anyString(char lo, char hi)
          See documentation of PrimitiveGenerators.strings().
static String anyString(Generator<Character> characterGenerator)
          See documentation of PrimitiveGenerators.strings().
static String anyString(Generator<Integer> length, Generator<Character> characters)
          See documentation of PrimitiveGenerators.strings().
static String anyString(int max)
          See documentation of PrimitiveGenerators.strings().
static String anyString(int min, int max)
          See documentation of PrimitiveGenerators.strings().
static String anyString(String allowedCharacters)
          See documentation of PrimitiveGenerators.strings().
static String anyString(String allowedCharacters, int min, int max)
          See documentation of PrimitiveGenerators.strings().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveGeneratorSamples

public PrimitiveGeneratorSamples()
Method Detail

anyInteger

public static Integer anyInteger(int lo,
                                 int hi,
                                 Distribution distribution)
See documentation of PrimitiveGenerators.integers().


anyInteger

public static Integer anyInteger(int lo,
                                 int hi)
See documentation of PrimitiveGenerators.integers().


anyInteger

public static Integer anyInteger(int low)
See documentation of PrimitiveGenerators.integers().


anyInteger

public static Integer anyInteger()
See documentation of PrimitiveGenerators.integers().


anyPositiveInteger

public static Integer anyPositiveInteger(int high)
See documentation of PrimitiveGenerators.positiveIntegers().


anyPositiveInteger

public static Integer anyPositiveInteger()
See documentation of PrimitiveGenerators.positiveIntegers().


anyNull

public static <T> T anyNull()
See documentation of PrimitiveGenerators.nulls().


anyLong

public static Long anyLong()
See documentation of PrimitiveGenerators.longs().


anyLong

public static Long anyLong(long lo,
                           long hi)
See documentation of PrimitiveGenerators.longs().


anyLong

public static Long anyLong(long lo,
                           long hi,
                           Distribution distribution)
See documentation of PrimitiveGenerators.longs().


anyObject

public static <T> T anyObject(Class<T> objectType)
See documentation of PrimitiveGenerators.objects().


anyObject

public static Object anyObject()
See documentation of PrimitiveGenerators.objects().


anyClonedValue

public static <T> T anyClonedValue(T prototype)
See documentation of PrimitiveGenerators.clonedValues(T).


anyBoolean

public static Boolean anyBoolean()
See documentation of PrimitiveGenerators.booleans().


anyLetterString

public static String anyLetterString()
See documentation of PrimitiveGenerators.letterStrings().


anyLetterString

public static String anyLetterString(int min,
                                     int max)
See documentation of PrimitiveGenerators.letterStrings().


anyDefaultObject

public static <T> T anyDefaultObject(Class<T> objectType)
See documentation of PrimitiveGenerators.defaultObjects(java.lang.Class).


anyCharacter

public static Character anyCharacter(Collection<Character> chars)
See documentation of PrimitiveGenerators.characters(char, char).


anyCharacter

public static Character anyCharacter(String string)
See documentation of PrimitiveGenerators.characters(char, char).


anyCharacter

public static Character anyCharacter(Character... chars)
See documentation of PrimitiveGenerators.characters(char, char).


anyCharacter

public static Character anyCharacter()
See documentation of PrimitiveGenerators.characters(char, char).


anyCharacter

public static Character anyCharacter(char lo,
                                     char hi)
See documentation of PrimitiveGenerators.characters(char, char).


anyByte

public static Byte anyByte()
See documentation of PrimitiveGenerators.bytes().


anyByte

public static Byte anyByte(byte lo,
                           byte hi)
See documentation of PrimitiveGenerators.bytes().


anyByte

public static Byte anyByte(byte lo,
                           byte hi,
                           Distribution distribution)
See documentation of PrimitiveGenerators.bytes().


anyString

public static String anyString()
See documentation of PrimitiveGenerators.strings().


anyString

public static String anyString(char lo,
                               char hi)
See documentation of PrimitiveGenerators.strings().


anyString

public static String anyString(String allowedCharacters)
See documentation of PrimitiveGenerators.strings().


anyString

public static String anyString(String allowedCharacters,
                               int min,
                               int max)
See documentation of PrimitiveGenerators.strings().


anyString

public static String anyString(int max)
See documentation of PrimitiveGenerators.strings().


anyString

public static String anyString(int min,
                               int max)
See documentation of PrimitiveGenerators.strings().


anyString

public static String anyString(Generator<Integer> length,
                               Generator<Character> characters)
See documentation of PrimitiveGenerators.strings().


anyString

public static String anyString(Generator<Character> characterGenerator)
See documentation of PrimitiveGenerators.strings().


anyBasicLatinCharacter

public static Character anyBasicLatinCharacter()
See documentation of PrimitiveGenerators.basicLatinCharacters().


anyPrintableString

public static String anyPrintableString()
See documentation of PrimitiveGenerators.printableStrings().


anyDate

public static Date anyDate()
See documentation of PrimitiveGenerators.dates().


anyDate

public static Date anyDate(TimeUnit precision)
See documentation of PrimitiveGenerators.dates().


anyDate

public static Date anyDate(Date low,
                           Date high)
See documentation of PrimitiveGenerators.dates().


anyDate

public static Date anyDate(long low,
                           long high)
See documentation of PrimitiveGenerators.dates().


anyDate

public static Date anyDate(Long low,
                           Long high,
                           TimeUnit precision)
See documentation of PrimitiveGenerators.dates().


anyDouble

public static Double anyDouble()
See documentation of PrimitiveGenerators.doubles().


anyDouble

public static Double anyDouble(double lo,
                               double hi)
See documentation of PrimitiveGenerators.doubles().


anyDouble

public static Double anyDouble(double lo,
                               double hi,
                               Distribution distribution)
See documentation of PrimitiveGenerators.doubles().


anyLatin1SupplementCharacter

public static Character anyLatin1SupplementCharacter()
See documentation of PrimitiveGenerators.latin1SupplementCharacters().


anyNonEmptyString

public static String anyNonEmptyString()
See documentation of PrimitiveGenerators.nonEmptyStrings().


anyPositiveLong

public static Long anyPositiveLong()
See documentation of PrimitiveGenerators.positiveLongs().


anyPositiveLong

public static Long anyPositiveLong(long hi)
See documentation of PrimitiveGenerators.positiveLongs().


anyEnumValue

public static <T extends Enum<T>> T anyEnumValue(Class<T> enumClass,
                                                 Collection<T> excludedCollection)
See documentation of PrimitiveGenerators.enumValues(java.lang.Class).


anyFixedValue

public static <T> T anyFixedValue(T value)
See documentation of PrimitiveGenerators.fixedValues(T).


anyFixedValue

public static <T> T anyFixedValue(T... values)
See documentation of PrimitiveGenerators.fixedValues(T).


anyFixedValue

public static <T> T anyFixedValue(Collection<T> values)
See documentation of PrimitiveGenerators.fixedValues(T).


anyEnumValue

public static <T extends Enum<T>> T anyEnumValue(Class<T> enumClass)
See documentation of PrimitiveGenerators.enumValues(java.lang.Class).


anyEnumValue

public static <T extends Enum<T>> T anyEnumValue(Class<T> enumClass,
                                                 T... excluded)
See documentation of PrimitiveGenerators.enumValues(java.lang.Class).



Copyright © 2011. All Rights Reserved.