Class DoubleProvider
java.lang.Object
org.soliscode.test.provider.DoubleProvider
- All Implemented Interfaces:
DoubleNumberProvider<Double>
,NumberProvider<Double>
,ObjectProvider<Double>
Provides instances of the class
Double
for the purposes of testing.- Since:
- 1.0.0
- Author:
- evanbergstrom
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Double
createValue
(double value) Creates an instance of theInteger
class with a numeric value equal to the primitive double value.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.soliscode.test.provider.DoubleNumberProvider
copyInstance, createInstance, defaultInstance, maxPrimitiveValue, maxValue, minPrimitiveValue, minValue
Methods inherited from interface org.soliscode.test.provider.ObjectProvider
createEqualObjects, createInstance, createRandoInstances, createUniqueInstances, createUniqueInstances, equalInstanceSupplier, randomInstanceSupplier, uniqueInstanceSupplier, uniqueInstanceSupplier, uniqueSizeLimit
-
Constructor Details
-
DoubleProvider
public DoubleProvider()
-
-
Method Details
-
createValue
Creates an instance of theInteger
class with a numeric value equal to the primitive double value.- Specified by:
createValue
in interfaceDoubleNumberProvider<Double>
- Parameters:
value
- the primitive double value.- Returns:
- an instance of the
Double
class.
-