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