Package org.jeasy.random.randomizers
Class LastNameRandomizer
- java.lang.Object
-
- org.jeasy.random.randomizers.AbstractRandomizer<T>
-
- org.jeasy.random.randomizers.FakerBasedRandomizer<java.lang.String>
-
- org.jeasy.random.randomizers.LastNameRandomizer
-
- All Implemented Interfaces:
org.jeasy.random.api.Randomizer<java.lang.String>
public class LastNameRandomizer extends FakerBasedRandomizer<java.lang.String>
ARandomizerthat generates random last names.- 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 LastNameRandomizer()Create a newLastNameRandomizer.LastNameRandomizer(long seed)Create a newLastNameRandomizer.LastNameRandomizer(long seed, java.util.Locale locale)Create a newLastNameRandomizer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetRandomValue()
-
-
-
Constructor Detail
-
LastNameRandomizer
public LastNameRandomizer()
Create a newLastNameRandomizer.
-
LastNameRandomizer
public LastNameRandomizer(long seed)
Create a newLastNameRandomizer.- Parameters:
seed- the initial seed
-
LastNameRandomizer
public LastNameRandomizer(long seed, java.util.Locale locale)Create a newLastNameRandomizer.- Parameters:
seed- the initial seedlocale- the locale to use
-
-