Package org.apache.solr.bench.generators
Class ListsDSL.TypedListGeneratorBuilder<T>
- java.lang.Object
-
- org.apache.solr.bench.generators.ListsDSL.TypedListGeneratorBuilder<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.quicktheories.core.Gen<List<T>>
ofSize(int size)
Generates a List of objects, where the size of the List is fixedorg.quicktheories.core.Gen<List<T>>
ofSizeBetween(int minimumSize, int maximumSize)
Generates a List of objects, where the size of the List is bounded by minimumSize and maximumSize
-
-
-
Method Detail
-
ofSize
public org.quicktheories.core.Gen<List<T>> ofSize(int size)
Generates a List of objects, where the size of the List is fixed- Parameters:
size
- size of lists to generate- Returns:
- a Source of Lists of type T
-
ofSizeBetween
public org.quicktheories.core.Gen<List<T>> ofSizeBetween(int minimumSize, int maximumSize)
Generates a List of objects, where the size of the List is bounded by minimumSize and maximumSize- Parameters:
minimumSize
- - inclusive minimum size of ListmaximumSize
- - inclusive maximum size of List- Returns:
- a Source of Lists of type T
-
-