Class DoubleProvider

java.lang.Object
org.soliscode.test.provider.DoubleProvider
All Implemented Interfaces:
DoubleNumberProvider<Double>, NumberProvider<Double>, ObjectProvider<Double>

public class DoubleProvider extends Object implements DoubleNumberProvider<Double>
Provides instances of the class Double for the purposes of testing.
Since:
1.0.0
Author:
evanbergstrom
  • Constructor Details

    • DoubleProvider

      public DoubleProvider()
  • Method Details

    • createValue

      @NotNull public @NotNull Double createValue(double value)
      Creates an instance of the Integer class with a numeric value equal to the primitive double value.
      Specified by:
      createValue in interface DoubleNumberProvider<Double>
      Parameters:
      value - the primitive double value.
      Returns:
      an instance of the Double class.