Class FloatProvider
java.lang.Object
org.soliscode.test.provider.FloatProvider
- All Implemented Interfaces:
DoubleNumberProvider<Float>
,NumberProvider<Float>
,ObjectProvider<Float>
Provides instances of the class
Float
for the purposes of testing.- Since:
- 1.0.0
- Author:
- evanbergstrom
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Float
createValue
(double value) Creates an instance of theFloat
class with a numeric value equal to the primitive float 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
-
FloatProvider
public FloatProvider()
-
-
Method Details
-
createValue
Creates an instance of theFloat
class with a numeric value equal to the primitive float value.- Specified by:
createValue
in interfaceDoubleNumberProvider<Float>
- Parameters:
value
- the primitive float value.- Returns:
- an instance of the
Float
class.
-