Class LongProvider
java.lang.Object
org.soliscode.test.provider.LongProvider
- All Implemented Interfaces:
IntegerNumberProvider<Long>
,NumberProvider<Long>
,ObjectProvider<Long>
Provides instances of an
Long
for the purposes of testing.- Since:
- 1.0
- Author:
- evanbergstrom
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Long
createValue
(int value) Creates an instance of theLong
class with a numeric value equal to the primitive long 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.IntegerNumberProvider
copyInstance, createInstance, defaultInstance, maxIntegerValue, maxValue, minIntegerValue, minValue
Methods inherited from interface org.soliscode.test.provider.ObjectProvider
createEqualObjects, createInstance, createRandoInstances, createUniqueInstances, createUniqueInstances, equalInstanceSupplier, randomInstanceSupplier, uniqueInstanceSupplier, uniqueInstanceSupplier, uniqueSizeLimit
-
Constructor Details
-
LongProvider
public LongProvider()
-
-
Method Details
-
createValue
Creates an instance of theLong
class with a numeric value equal to the primitive long value.- Specified by:
createValue
in interfaceIntegerNumberProvider<Long>
- Parameters:
value
- the primitive long value.- Returns:
- an instance of the
Long
class.
-