Class ShortRandomizer

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

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

      • ShortRandomizer

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

      • getRandomValue

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