@API(status=MAINTAINED,
     since="1.0")
public interface DoubleArbitrary
extends NumericalArbitrary<java.lang.Double,DoubleArbitrary>
Arbitrary.ArbitraryFacade| Modifier and Type | Method and Description | 
|---|---|
| DoubleArbitrary | between(double min,
       boolean minIncluded,
       double max,
       boolean maxIncluded)Set the allowed lower  min(included) and uppermax(included) border of generated numbers. | 
| default DoubleArbitrary | between(double min,
       double max)Set the allowed lower  min(included) and uppermax(included) border of generated numbers. | 
| DoubleArbitrary | greaterOrEqual(double min)Set the allowed lower  min(included) border of generated numbers. | 
| DoubleArbitrary | greaterThan(double min)Set the allowed lower  min(excluded) border of generated numbers. | 
| DoubleArbitrary | lessOrEqual(double max)Set the allowed upper  max(included) border of generated numbers. | 
| DoubleArbitrary | lessThan(double max)Set the allowed upper  max(excluded) border of generated numbers. | 
| DoubleArbitrary | ofScale(int scale)Set the scale (maximum number of decimal places) to  scale. | 
| DoubleArbitrary | shrinkTowards(double target)Set shrinking target to  targetwhich must be between the allowed bounds. | 
| DoubleArbitrary | withSpecialValue(double special)Inject a special value into generated values and edge cases. | 
| DoubleArbitrary | withStandardSpecialValues()Inject a selection of special values using withSpecialValue(double):
 
     Double.NaN
     Double.MIN_VALUE
     Double.MIN_NORMAL
     Double.POSITIVE_INFINITY
     Double.NEGATIVE_INFINITY
 
 This value can be outside the constraints of the arbitrary,
 e.g. have more decimals than specified by ofScale(int). | 
withDistributionallValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generator, generatorWithEmbeddedEdgeCases, ignoreException, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCasesdefault DoubleArbitrary between(double min, double max)
min (included) and upper max (included) border of generated numbers.min - The lower border of possible valuesmax - The upper border of possible valuesDoubleArbitrary between(double min, boolean minIncluded, double max, boolean maxIncluded)
min (included) and upper max (included) border of generated numbers.
 Specify if borders should be included in allowed values or not.min - The lower border of possible valuesminIncluded - Should the lower border be includedmax - The upper border of possible valuesmaxIncluded - Should the upper border be includedDoubleArbitrary greaterOrEqual(double min)
min (included) border of generated numbers.min - The lower border of possible values@API(status=MAINTAINED,
     since="1.2.7")
DoubleArbitrary greaterThan(double min)
min (excluded) border of generated numbers.min - The lower border of possible valuesDoubleArbitrary lessOrEqual(double max)
max (included) border of generated numbers.max - The upper border of possible values@API(status=MAINTAINED,
     since="1.2.7")
DoubleArbitrary lessThan(double max)
max (excluded) border of generated numbers.max - The upper border of possible valuesDoubleArbitrary ofScale(int scale)
scale.scale - number of decimal places@API(status=MAINTAINED,
     since="1.4.0")
DoubleArbitrary shrinkTowards(double target)
target which must be between the allowed bounds.target - The value which is considered to be the most simple value for shrinking@API(status=EXPERIMENTAL,
     since="1.5.4")
DoubleArbitrary withSpecialValue(double special)
special - value@API(status=EXPERIMENTAL,
     since="1.5.4")
DoubleArbitrary withStandardSpecialValues()