Package org.apache.solr.bench.generators
Class FloatsDSL
- java.lang.Object
- 
- org.apache.solr.bench.generators.FloatsDSL
 
- 
 public class FloatsDSL extends Object A Class for creating Float Sources that will produce floats within a set interval and will shrink within this domain.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classFloatsDSL.FloatDomainBuilder
 - 
Constructor SummaryConstructors Constructor Description FloatsDSL()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SolrGen<Float>all()Generates Floats inclusively bounded below by Float.NEGATIVE_INFINITY and above by Float.POSITIVE_INFINITY.org.quicktheories.core.Gen<Float>between(float minInclusive, float maxInclusive)Generates Floats inclusively between two boundsFloatsDSL.FloatDomainBuilderfrom(float startInclusive)Starts a rangeorg.quicktheories.core.Gen<Float>fromZeroToOne()Generates Floats inclusively bounded below by zero and above by one.org.quicktheories.core.Gen<Float>negative()Generates Floats inclusively bounded below by Float.NEGATIVE_INFINITY and above by a value very close to zero on the negative side.org.quicktheories.core.Gen<Float>positive()Generates Floats inclusively bounded below by a value very close to zero on the positive side and above by Float.POSITIVE_INFINITY.
 
- 
- 
- 
Method Detail- 
allpublic SolrGen<Float> all() Generates Floats inclusively bounded below by Float.NEGATIVE_INFINITY and above by Float.POSITIVE_INFINITY.- Returns:
- a Source of type Float
 
 - 
negativepublic org.quicktheories.core.Gen<Float> negative() Generates Floats inclusively bounded below by Float.NEGATIVE_INFINITY and above by a value very close to zero on the negative side.- Returns:
- a Source of type Float
 
 - 
positivepublic org.quicktheories.core.Gen<Float> positive() Generates Floats inclusively bounded below by a value very close to zero on the positive side and above by Float.POSITIVE_INFINITY.- Returns:
- a Source of type Float
 
 - 
fromZeroToOnepublic org.quicktheories.core.Gen<Float> fromZeroToOne() Generates Floats inclusively bounded below by zero and above by one.- Returns:
- a Source of type Float
 
 - 
betweenpublic org.quicktheories.core.Gen<Float> between(float minInclusive, float maxInclusive) Generates Floats inclusively between two bounds- Parameters:
- minInclusive- minimum value to generate
- maxInclusive- maximum value to generate
- Returns:
- a Gen of Floats between minInclusive and maxInclusive
 
 - 
frompublic FloatsDSL.FloatDomainBuilder from(float startInclusive) Starts a range- Parameters:
- startInclusive- - lower bound of domain
- Returns:
- start of range
 
 
- 
 
-