Package org.jeasy.random.randomizers
Class CityRandomizer
java.lang.Object
org.jeasy.random.randomizers.AbstractRandomizer<T>
org.jeasy.random.randomizers.FakerBasedRandomizer<String>
org.jeasy.random.randomizers.CityRandomizer
- All Implemented Interfaces:
Randomizer<String>
A
Randomizer that generates random cities.- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
-
Field Summary
Fields inherited from class org.jeasy.random.randomizers.FakerBasedRandomizer
fakerFields inherited from class org.jeasy.random.randomizers.AbstractRandomizer
random -
Constructor Summary
ConstructorsConstructorDescriptionCreate a newCityRandomizer.CityRandomizer(long seed) Create a newCityRandomizer.CityRandomizer(long seed, Locale locale) Create a newCityRandomizer. -
Method Summary
Methods inherited from class org.jeasy.random.randomizers.AbstractRandomizer
getPredefinedValuesOf, nextDouble, toString
-
Constructor Details
-
CityRandomizer
public CityRandomizer()Create a newCityRandomizer. -
CityRandomizer
public CityRandomizer(long seed) Create a newCityRandomizer.- Parameters:
seed- the initial seed
-
CityRandomizer
Create a newCityRandomizer.- Parameters:
seed- the initial seedlocale- the locale to use
-
-
Method Details
-
getRandomValue
-