Package org.jeasy.random.randomizers
Class AbstractRandomizer<T>
java.lang.Object
org.jeasy.random.randomizers.AbstractRandomizer<T>
- All Implemented Interfaces:
Randomizer<T>
- Direct Known Subclasses:
AbstractRangeRandomizer
,BigIntegerRandomizer
,BooleanRandomizer
,CharacterRandomizer
,DoubleRandomizer
,EnumRandomizer
,FloatRandomizer
,IntegerRandomizer
,LocaleRandomizer
,LongRandomizer
,NumberRandomizer
,OptionalRandomizer
,ShortRandomizer
,StringRandomizer
,TimeZoneRandomizer
,UriRandomizer
,UrlRandomizer
,UUIDRandomizer
,ZonedDateTimeRandomizer
,ZoneIdRandomizer
Base class for
Randomizer
implementations.- Author:
- Mahmoud Ben Hassine ([email protected])
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String[]
protected double
nextDouble
(double min, double max) Return a random double in the given range.toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jeasy.random.api.Randomizer
getRandomValue
-
Field Details
-
random
-
-
Constructor Details
-
AbstractRandomizer
protected AbstractRandomizer() -
AbstractRandomizer
protected AbstractRandomizer(long seed)
-
-
Method Details