Package org.jeasy.random.randomizers
Class FirstNameRandomizer
java.lang.Object
org.jeasy.random.randomizers.AbstractRandomizer<T>
org.jeasy.random.randomizers.FakerBasedRandomizer<String>
org.jeasy.random.randomizers.FirstNameRandomizer
- All Implemented Interfaces:
Randomizer<String>
A
Randomizer that generates random first names.- 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 newFirstNameRandomizer.FirstNameRandomizer(long seed) Create a newFirstNameRandomizer.FirstNameRandomizer(long seed, Locale locale) Create a newFirstNameRandomizer. -
Method Summary
Methods inherited from class org.jeasy.random.randomizers.AbstractRandomizer
getPredefinedValuesOf, nextDouble, toString
-
Constructor Details
-
FirstNameRandomizer
public FirstNameRandomizer()Create a newFirstNameRandomizer. -
FirstNameRandomizer
public FirstNameRandomizer(long seed) Create a newFirstNameRandomizer.- Parameters:
seed- the initial seed
-
FirstNameRandomizer
Create a newFirstNameRandomizer.- Parameters:
seed- the initial seedlocale- the locale to use
-
-
Method Details
-
getRandomValue
-