Package org.jeasy.random.randomizers
Class FakerBasedRandomizer<T>
java.lang.Object
org.jeasy.random.randomizers.AbstractRandomizer<T>
org.jeasy.random.randomizers.FakerBasedRandomizer<T>
- Type Parameters:
T- the element type
- All Implemented Interfaces:
Randomizer<T>
- Direct Known Subclasses:
CityRandomizer,CompanyRandomizer,CountryRandomizer,CreditCardNumberRandomizer,EmailRandomizer,FirstNameRandomizer,FullNameRandomizer,GenericStringRandomizer,Ipv4AddressRandomizer,Ipv6AddressRandomizer,IsbnRandomizer,LastNameRandomizer,LatitudeRandomizer,LongitudeRandomizer,MacAddressRandomizer,ParagraphRandomizer,PasswordRandomizer,PhoneNumberRandomizer,RegularExpressionRandomizer,SentenceRandomizer,StateRandomizer,StreetRandomizer,WordRandomizer,ZipCodeRandomizer
Abstract
Randomizer based on Faker.- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
-
Field Summary
FieldsFields inherited from class org.jeasy.random.randomizers.AbstractRandomizer
random -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedFakerBasedRandomizer(long seed) protectedFakerBasedRandomizer(long seed, Locale locale) -
Method Summary
Methods inherited from class org.jeasy.random.randomizers.AbstractRandomizer
getPredefinedValuesOf, nextDouble, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jeasy.random.api.Randomizer
getRandomValue
-
Field Details
-
faker
protected final net.datafaker.Faker faker
-
-
Constructor Details
-
FakerBasedRandomizer
protected FakerBasedRandomizer() -
FakerBasedRandomizer
protected FakerBasedRandomizer(long seed) -
FakerBasedRandomizer
-