Class CountryRandomizer

  • All Implemented Interfaces:
    org.jeasy.random.api.Randomizer<java.lang.String>

    public class CountryRandomizer
    extends FakerBasedRandomizer<java.lang.String>
    A Randomizer that generates random countries.
    Author:
    Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
    • Constructor Detail

      • CountryRandomizer

        public CountryRandomizer​(long seed)
        Create a new CountryRandomizer.
        Parameters:
        seed - the initial seed
      • CountryRandomizer

        public CountryRandomizer​(long seed,
                                 java.util.Locale locale)
        Create a new CountryRandomizer.
        Parameters:
        seed - the initial seed
        locale - the locale to use
    • Method Detail

      • getRandomValue

        public java.lang.String getRandomValue()