A B C D E F G H I L M N P R S T V Z

A

addComponentGenerators(List<Generator<?>>) - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
addComponentGenerators(List<Generator<?>>) - Method in class com.pholser.junit.quickcheck.generator.Generator
Adds component generators to this generator.
addConfiguration(Class<? extends Annotation>, Annotation) - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
 
addConfigurations(List<Annotation>) - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
 
addConstraint(SuchThat) - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
 
addGenerators(From) - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
 
addQuantifier(ForAll) - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
 
ArrayGenerator - Class in com.pholser.junit.quickcheck.internal.generator
 
ArrayGenerator(Class<?>, Generator<?>) - Constructor for class com.pholser.junit.quickcheck.internal.generator.ArrayGenerator
 
attempts() - Method in interface com.pholser.junit.quickcheck.generator.GenerationStatus
 
attempts() - Method in class com.pholser.junit.quickcheck.internal.generator.GenerationContext
 

B

bind(Object) - Method in class com.pholser.junit.quickcheck.internal.constraint.ConstraintEvaluator
 

C

canGenerateForParametersOfTypes(List<TypeParameter<?>>) - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
canGenerateForParametersOfTypes(List<TypeParameter<?>>) - Method in class com.pholser.junit.quickcheck.generator.Generator
 
canRegisterAsType(Class<?>) - Method in class com.pholser.junit.quickcheck.generator.Generator
Tells whether this generator is allowed to be used for theory parameters of the given type.
checkRange(String, T, T) - Static method in class com.pholser.junit.quickcheck.internal.Ranges
 
com.pholser.junit.quickcheck - package com.pholser.junit.quickcheck
 
com.pholser.junit.quickcheck.generator - package com.pholser.junit.quickcheck.generator
 
com.pholser.junit.quickcheck.internal - package com.pholser.junit.quickcheck.internal
 
com.pholser.junit.quickcheck.internal.constraint - package com.pholser.junit.quickcheck.internal.constraint
 
com.pholser.junit.quickcheck.internal.generator - package com.pholser.junit.quickcheck.internal.generator
 
com.pholser.junit.quickcheck.random - package com.pholser.junit.quickcheck.random
 
compatibleWithTypeParameter(TypeParameter<?>, Class<?>) - Static method in class com.pholser.junit.quickcheck.generator.Generator
 
componentGenerator() - Method in class com.pholser.junit.quickcheck.internal.generator.ArrayGenerator
 
componentGenerator(int) - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
componentGenerators() - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
ComponentizedGenerator<T> - Class in com.pholser.junit.quickcheck.generator
Produces values for theory parameters of types that have components that would also need generation, such as arrays, lists, and predicates.
ComponentizedGenerator(Class<T>) - Constructor for class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
CompositeGenerator - Class in com.pholser.junit.quickcheck.internal.generator
 
CompositeGenerator(List<Generator<?>>) - Constructor for class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
configurations() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
 
configure(Map<Class<? extends Annotation>, Annotation>) - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
configure(Map<Class<? extends Annotation>, Annotation>) - Method in class com.pholser.junit.quickcheck.generator.Generator
Tells this generator to configure itself using annotations from a theory parameter.
configure(Map<Class<? extends Annotation>, Annotation>) - Method in class com.pholser.junit.quickcheck.internal.generator.ArrayGenerator
 
configure(Map<Class<? extends Annotation>, Annotation>) - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
configure(ValuesOf) - Method in class com.pholser.junit.quickcheck.internal.generator.EnumGenerator
 
constraint() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
 
ConstraintEvaluator - Class in com.pholser.junit.quickcheck.internal.constraint
 
ConstraintEvaluator(String) - Constructor for class com.pholser.junit.quickcheck.internal.constraint.ConstraintEvaluator
 
ConstraintEvaluator.EvaluationException - Exception in com.pholser.junit.quickcheck.internal.constraint
 

D

defaultValueOf(Class<? extends Annotation>, String) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
discardRatio() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
 

E

EnumGenerator - Class in com.pholser.junit.quickcheck.internal.generator
 
EnumGenerator(Class<?>) - Constructor for class com.pholser.junit.quickcheck.internal.generator.EnumGenerator
 
evaluate() - Method in class com.pholser.junit.quickcheck.internal.constraint.ConstraintEvaluator
 
explicitGenerator() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
 

F

findMethodQuietly(Class<?>, String, Class<?>...) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
ForAll - Annotation Type in com.pholser.junit.quickcheck
Mark a parameter of a Theory method with this annotation to have random values supplied to it.
From - Annotation Type in com.pholser.junit.quickcheck
Mark a parameter of a Theory method already marked with ForAll with this annotation to have random values supplied to it via one of the specified Generators, chosen at random with equal probability.

G

generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.generator.Generator
Produces a value for a theory parameter.
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.internal.generator.ArrayGenerator
 
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.internal.generator.EnumGenerator
 
generate(SourceOfRandomness) - Method in class com.pholser.junit.quickcheck.internal.generator.GenerationContext
 
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.internal.generator.LambdaGenerator
 
generate(ParameterContext) - Method in class com.pholser.junit.quickcheck.internal.generator.RandomTheoryParameterGenerator
 
generate(ParameterContext) - Method in interface com.pholser.junit.quickcheck.internal.generator.TheoryParameterGenerator
 
generate(SourceOfRandomness, GenerationStatus) - Method in class com.pholser.junit.quickcheck.internal.generator.ZilchGenerator
 
GenerationContext - Class in com.pholser.junit.quickcheck.internal.generator
 
GenerationContext(ParameterContext, GeneratorRepository) - Constructor for class com.pholser.junit.quickcheck.internal.generator.GenerationContext
 
GenerationContext.DiscardRatioExceededException - Exception in com.pholser.junit.quickcheck.internal.generator
 
GenerationStatus - Interface in com.pholser.junit.quickcheck.generator
Generators are fed instances of this interface on each generation so that, if they choose, the generators can use these instances to influence the results of a generation for a particular theory parameter.
Generator<T> - Class in com.pholser.junit.quickcheck.generator
Produces values for theory parameters.
Generator(Class<T>) - Constructor for class com.pholser.junit.quickcheck.generator.Generator
 
Generator(List<Class<T>>) - Constructor for class com.pholser.junit.quickcheck.generator.Generator
Used for generators of primitives/their wrappers.
GeneratorConfiguration - Annotation Type in com.pholser.junit.quickcheck.generator
Apply this annotation to an annotation that marks theory parameters, in order that the marked annotation can be used to configure generators for values of the theory parameter's type.
generatorFor(Type) - Method in class com.pholser.junit.quickcheck.internal.generator.GeneratorRepository
 
GeneratorRepository - Class in com.pholser.junit.quickcheck.internal.generator
 
GeneratorRepository(SourceOfRandomness) - Constructor for class com.pholser.junit.quickcheck.internal.generator.GeneratorRepository
 
getValueSources(ParameterSignature) - Method in class com.pholser.junit.quickcheck.internal.RandomValueSupplier
 

H

hasComponents() - Method in class com.pholser.junit.quickcheck.generator.ComponentizedGenerator
 
hasComponents() - Method in class com.pholser.junit.quickcheck.generator.Generator
 

I

INSTANCE - Static variable in class com.pholser.junit.quickcheck.internal.Zilch
 
instantiate(Class<T>) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
invokeQuietly(Method, Object, Object...) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
isEmpty() - Method in class com.pholser.junit.quickcheck.internal.generator.GeneratorRepository
 
Items - Class in com.pholser.junit.quickcheck.internal
 
iterator() - Method in class com.pholser.junit.quickcheck.internal.generator.ServiceLoaderGeneratorSource
 

L

LambdaGenerator<T,U> - Class in com.pholser.junit.quickcheck.internal.generator
 
LambdaGenerator(Class<T>, Generator<U>) - Constructor for class com.pholser.junit.quickcheck.internal.generator.LambdaGenerator
 
Lambdas - Class in com.pholser.junit.quickcheck.generator
Helper class for creating instances of "functional interfaces".

M

makeLambda(Class<T>, Generator<U>, GenerationStatus) - Static method in class com.pholser.junit.quickcheck.generator.Lambdas
Creates an instance of a given "functional interface" type, whose single abstract method returns values of the type produced by the given generator.
markedAnnotations(List<Annotation>, Class<? extends Annotation>) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 

N

nextBigInteger(int) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random BigInteger representable by the given number of bits.
nextBoolean() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextByte(byte, byte) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random byte value v such that min <= v <= max, uniformly distributed across the interval [min, max].
nextBytes(byte[]) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextBytes(int) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives an array of a given length containing random bytes.
nextChar(char, char) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random char value v such that min <= v <= max, uniformly distributed across the interval [min, max].
nextDouble() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextDouble(double, double) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random double value v such that min <= v < max.
nextFloat() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextFloat(float, float) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random float value v such that min <= v < max.
nextGaussian() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextInt() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextInt(int) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextInt(int, int) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random int value v such that min <= v <= max, uniformly distributed across the interval [min, max].
nextLong() - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
nextLong(long, long) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random long value v such that min <= v <= max, uniformly distributed across the interval [min, max].
nextShort(short, short) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
Gives a random short value v such that min <= v <= max, uniformly distributed across the interval [min, max].
numberOfComponentGenerators() - Method in class com.pholser.junit.quickcheck.internal.generator.CompositeGenerator
 
numberOfNeededComponents() - Method in class com.pholser.junit.quickcheck.generator.Generator
 

P

ParameterContext - Class in com.pholser.junit.quickcheck.internal
 
ParameterContext(Type) - Constructor for class com.pholser.junit.quickcheck.internal.ParameterContext
 
parameterType() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
 

R

randomBigIntegerInRange(SourceOfRandomness, BigInteger, BigInteger) - Static method in class com.pholser.junit.quickcheck.internal.Ranges
 
randomElementFrom(Collection<T>, SourceOfRandomness) - Static method in class com.pholser.junit.quickcheck.internal.Items
 
RandomTheoryParameterGenerator - Class in com.pholser.junit.quickcheck.internal.generator
 
RandomTheoryParameterGenerator(SourceOfRandomness, GeneratorRepository) - Constructor for class com.pholser.junit.quickcheck.internal.generator.RandomTheoryParameterGenerator
 
RandomValueSupplier - Class in com.pholser.junit.quickcheck.internal
 
RandomValueSupplier() - Constructor for class com.pholser.junit.quickcheck.internal.RandomValueSupplier
 
RandomValueSupplier(TheoryParameterGenerator) - Constructor for class com.pholser.junit.quickcheck.internal.RandomValueSupplier
 
Ranges - Class in com.pholser.junit.quickcheck.internal
 
Reflection - Class in com.pholser.junit.quickcheck.internal
 
ReflectionException - Exception in com.pholser.junit.quickcheck.internal
 
register(Generator<?>) - Method in class com.pholser.junit.quickcheck.internal.generator.GeneratorRepository
 
register(Iterable<Generator<?>>) - Method in class com.pholser.junit.quickcheck.internal.generator.GeneratorRepository
 

S

sampleSize() - Method in class com.pholser.junit.quickcheck.internal.ParameterContext
 
ServiceLoaderGeneratorSource - Class in com.pholser.junit.quickcheck.internal.generator
 
ServiceLoaderGeneratorSource() - Constructor for class com.pholser.junit.quickcheck.internal.generator.ServiceLoaderGeneratorSource
 
setSeed(long) - Method in class com.pholser.junit.quickcheck.random.SourceOfRandomness
 
shouldContinue() - Method in class com.pholser.junit.quickcheck.internal.generator.GenerationContext
 
singleAbstractMethodOf(Class<?>) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 
size() - Method in interface com.pholser.junit.quickcheck.generator.GenerationStatus
 
size() - Method in class com.pholser.junit.quickcheck.internal.generator.GenerationContext
 
SourceOfRandomness - Class in com.pholser.junit.quickcheck.random
A source of randomness, fed to Generators so they can produce random values for theory parameters.
SourceOfRandomness(Random) - Constructor for class com.pholser.junit.quickcheck.random.SourceOfRandomness
Makes a new source of randomness.
SuchThat - Annotation Type in com.pholser.junit.quickcheck
Mark a parameter of a Theory method already marked with ForAll with this annotation to constrain the values generated for it.
supertypes(Type<?>) - Static method in class com.pholser.junit.quickcheck.internal.Reflection
 

T

TheoryParameterGenerator - Interface in com.pholser.junit.quickcheck.internal.generator
 
types() - Method in class com.pholser.junit.quickcheck.generator.Generator
 

V

ValuesOf - Annotation Type in com.pholser.junit.quickcheck.generator
Mark a parameter of a Theory method already marked with ForAll with this annotation to generate all the parameter type's values in turn, rather than at random.

Z

Zilch - Class in com.pholser.junit.quickcheck.internal
 
ZilchGenerator - Class in com.pholser.junit.quickcheck.internal.generator
 
ZilchGenerator() - Constructor for class com.pholser.junit.quickcheck.internal.generator.ZilchGenerator
 

A B C D E F G H I L M N P R S T V Z

Copyright © 2013. All Rights Reserved.