Class LongRandomizer

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

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

    • LongRandomizer

      public LongRandomizer()
      Create a new LongRandomizer.
    • LongRandomizer

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

    • getRandomValue

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