Arbitrary.ArbitraryFacade| Modifier and Type | Method and Description | 
|---|---|
default FloatArbitrary | 
between(float min,
       float max)
Set the allowed lower  
min (included) and upper max (included) bounder of generated numbers. | 
FloatArbitrary | 
greaterOrEqual(float min)
Set the allowed lower  
min (included) bounder of generated numbers. | 
FloatArbitrary | 
lessOrEqual(float max)
Set the allowed upper  
max (included) bounder of generated numbers. | 
FloatArbitrary | 
ofScale(int scale)
Set the scale (maximum number of decimal places) to  
scale. | 
FloatArbitrary | 
shrinkTowards(float target)
Set shrinking target to  
target which must be between the allowed bounds. | 
allValues, array, collect, exhaustive, filter, fixGenSize, flatMap, forEachValue, generator, injectNull, iterator, list, map, optional, set, stream, unique, withSamplesdefault FloatArbitrary between(float min, float max)
min (included) and upper max (included) bounder of generated numbers.FloatArbitrary greaterOrEqual(float min)
min (included) bounder of generated numbers.FloatArbitrary lessOrEqual(float max)
max (included) bounder of generated numbers.FloatArbitrary ofScale(int scale)
scale.@API(status=EXPERIMENTAL,
     since="1.1.5")
FloatArbitrary shrinkTowards(float target)
target which must be between the allowed bounds.