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