Class ShortProvider
java.lang.Object
org.soliscode.test.provider.ShortProvider
- All Implemented Interfaces:
IntegerNumberProvider<Short>
,NumberProvider<Short>
,ObjectProvider<Short>
Provides instances of an
Short
for the purposes of testing.- Since:
- 1.0
- Author:
- evanbergstrom
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull Short
createValue
(int value) Creates an instance of theShort
class with a numeric value equal to the primitive short 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
-
ShortProvider
public ShortProvider()
-
-
Method Details
-
createValue
Creates an instance of theShort
class with a numeric value equal to the primitive short value.- Specified by:
createValue
in interfaceIntegerNumberProvider<Short>
- Parameters:
value
- the primitive short value.- Returns:
- an instance of the
Short
class.
-