Class LongRandomizer

  • All Implemented Interfaces:
    Randomizer<java.lang.Long>

    public class LongRandomizer
    extends AbstractRandomizer<java.lang.Long>
    Generate a random Long.
    Author:
    Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
    • Constructor Detail

      • LongRandomizer

        public LongRandomizer()
        Create a new LongRandomizer.
      • LongRandomizer

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

      • getRandomValue

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