Class DoubleRandomizer

java.lang.Object
org.jeasy.random.randomizers.AbstractRandomizer<Double>
org.jeasy.random.randomizers.number.DoubleRandomizer
All Implemented Interfaces:
Randomizer<Double>

public class DoubleRandomizer extends AbstractRandomizer<Double>
Generate a random Double.
Author:
Mahmoud Ben Hassine ([email protected])
  • Constructor Details

    • DoubleRandomizer

      public DoubleRandomizer()
      Create a new DoubleRandomizer.
    • DoubleRandomizer

      public DoubleRandomizer(long seed)
      Create a new DoubleRandomizer.
      Parameters:
      seed - initial seed
  • Method Details

    • getRandomValue

      public Double getRandomValue()
      Description copied from interface: Randomizer
      Generate a random value for the given type.
      Returns:
      a random value for the given type