Package org.jeasy.random.randomizers
Class CountryRandomizer
- java.lang.Object
-
- org.jeasy.random.randomizers.AbstractRandomizer<T>
-
- org.jeasy.random.randomizers.FakerBasedRandomizer<java.lang.String>
-
- org.jeasy.random.randomizers.CountryRandomizer
-
- All Implemented Interfaces:
org.jeasy.random.api.Randomizer<java.lang.String>
public class CountryRandomizer extends FakerBasedRandomizer<java.lang.String>
ARandomizerthat generates random countries.- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
-
-
Field Summary
-
Fields inherited from class org.jeasy.random.randomizers.FakerBasedRandomizer
faker
-
-
Constructor Summary
Constructors Constructor Description CountryRandomizer()Create a newCountryRandomizer.CountryRandomizer(long seed)Create a newCountryRandomizer.CountryRandomizer(long seed, java.util.Locale locale)Create a newCountryRandomizer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetRandomValue()
-
-
-
Constructor Detail
-
CountryRandomizer
public CountryRandomizer()
Create a newCountryRandomizer.
-
CountryRandomizer
public CountryRandomizer(long seed)
Create a newCountryRandomizer.- Parameters:
seed- the initial seed
-
CountryRandomizer
public CountryRandomizer(long seed, java.util.Locale locale)Create a newCountryRandomizer.- Parameters:
seed- the initial seedlocale- the locale to use
-
-