Package org.jeasy.random.randomizers.net
Class UrlRandomizer
- All Implemented Interfaces:
Randomizer<URL>
Generate a random
URL.- Author:
- Mahmoud Ben Hassine ([email protected])
-
Field Summary
Fields inherited from class org.jeasy.random.randomizers.AbstractRandomizer
random -
Constructor Summary
ConstructorsConstructorDescriptionCreate a newUrlRandomizer.UrlRandomizer(long seed) Create a newUrlRandomizer. -
Method Summary
Modifier and TypeMethodDescriptionGenerate a random value for the given type.Methods inherited from class org.jeasy.random.randomizers.AbstractRandomizer
getPredefinedValuesOf, nextDouble, toString
-
Constructor Details
-
UrlRandomizer
public UrlRandomizer()Create a newUrlRandomizer. -
UrlRandomizer
public UrlRandomizer(long seed) Create a newUrlRandomizer.- Parameters:
seed- initial seed
-
-
Method Details
-
getRandomValue
Description copied from interface:RandomizerGenerate a random value for the given type.- Returns:
- a random value for the given type
-