Class LocaleRandomizer

  • All Implemented Interfaces:
    Randomizer<java.util.Locale>

    public class LocaleRandomizer
    extends AbstractRandomizer<java.util.Locale>
    Generate a random Locale.
    Author:
    Pascal Schumacher (https://github.com/PascalSchumacher)
    • Constructor Detail

      • LocaleRandomizer

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

      • getRandomValue

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