Class NullRandomizer

java.lang.Object
org.jeasy.random.randomizers.misc.NullRandomizer
All Implemented Interfaces:
Randomizer<Void>

public class NullRandomizer extends Object implements Randomizer<Void>
A Randomizer that generates null values.
Author:
Mahmoud Ben Hassine ([email protected])
  • Constructor Details

    • NullRandomizer

      public NullRandomizer()
  • Method Details

    • getRandomValue

      public Void getRandomValue()
      Description copied from interface: Randomizer
      Generate a random value for the given type.
      Specified by:
      getRandomValue in interface Randomizer<Void>
      Returns:
      a random value for the given type