Package org.apache.solr.bench.generators
Class ArraysDSL
- java.lang.Object
 - 
- org.apache.solr.bench.generators.ArraysDSL
 
 
- 
public class ArraysDSL extends Object
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classArraysDSL.ArrayGeneratorBuilder<T> 
- 
Constructor Summary
Constructors Constructor Description ArraysDSL() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArraysDSL.ArrayGeneratorBuilder<Character>ofCharacters(org.quicktheories.core.Gen<Character> source)Creates an ArrayGeneratorBuilder of Characters that can be used to create an array Source<T> ArraysDSL.ArrayGeneratorBuilder<T>ofClass(org.quicktheories.core.Gen<T> source, Class<T> c)Creates an ArrayGeneratorBuilder of the given class that can be used to create an array SourceArraysDSL.ArrayGeneratorBuilder<Integer>ofIntegers(org.quicktheories.core.Gen<Integer> source)Creates an ArrayGeneratorBuilder of Integers that can be used to create an array SourceArraysDSL.ArrayGeneratorBuilder<String>ofStrings(org.quicktheories.core.Gen<String> source)Creates an ArrayGeneratorBuilder of Strings that can be used to create an array Source 
 - 
 
- 
- 
Method Detail
- 
ofIntegers
public ArraysDSL.ArrayGeneratorBuilder<Integer> ofIntegers(org.quicktheories.core.Gen<Integer> source)
Creates an ArrayGeneratorBuilder of Integers that can be used to create an array Source- Parameters:
 source- a Source of type Integer- Returns:
 - an ArrayGeneratorBuilder of type Integer
 
 
- 
ofCharacters
public ArraysDSL.ArrayGeneratorBuilder<Character> ofCharacters(org.quicktheories.core.Gen<Character> source)
Creates an ArrayGeneratorBuilder of Characters that can be used to create an array Source- Parameters:
 source- a Source of type Character- Returns:
 - an ArrayGeneratorBuilder of type Character
 
 
- 
ofStrings
public ArraysDSL.ArrayGeneratorBuilder<String> ofStrings(org.quicktheories.core.Gen<String> source)
Creates an ArrayGeneratorBuilder of Strings that can be used to create an array Source- Parameters:
 source- a Source of type String- Returns:
 - an ArrayGeneratorBuilder of type String
 
 
- 
ofClass
public <T> ArraysDSL.ArrayGeneratorBuilder<T> ofClass(org.quicktheories.core.Gen<T> source, Class<T> c)
Creates an ArrayGeneratorBuilder of the given class that can be used to create an array Source- Type Parameters:
 T- type of value to generate- Parameters:
 source- a Source of type Tc- a Class of type T- Returns:
 - an ArrayGeneratorBuilder of type T
 
 
 - 
 
 -