Class UrlRandomizer

java.lang.Object
org.jeasy.random.randomizers.AbstractRandomizer<URL>
org.jeasy.random.randomizers.net.UrlRandomizer
All Implemented Interfaces:
Randomizer<URL>

public class UrlRandomizer extends AbstractRandomizer<URL>
Generate a random URL.
Author:
Mahmoud Ben Hassine ([email protected])
  • Constructor Details

    • UrlRandomizer

      public UrlRandomizer()
      Create a new UrlRandomizer.
    • UrlRandomizer

      public UrlRandomizer(long seed)
      Create a new UrlRandomizer.
      Parameters:
      seed - initial seed
  • Method Details

    • getRandomValue

      public URL getRandomValue()
      Description copied from interface: Randomizer
      Generate a random value for the given type.
      Returns:
      a random value for the given type