Package org.jeasy.random.randomizers.net
Class UriRandomizer
- All Implemented Interfaces:
Randomizer<URI>
Generate a random
URI
.- Author:
- Mahmoud Ben Hassine ([email protected])
-
Field Summary
Fields inherited from class org.jeasy.random.randomizers.AbstractRandomizer
random
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a newUriRandomizer
.UriRandomizer
(long seed) Create a newUriRandomizer
. -
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
-
UriRandomizer
public UriRandomizer()Create a newUriRandomizer
. -
UriRandomizer
public UriRandomizer(long seed) Create a newUriRandomizer
.- Parameters:
seed
- initial seed
-
-
Method Details
-
getRandomValue
Description copied from interface:Randomizer
Generate a random value for the given type.- Returns:
- a random value for the given type
-