Class UrlRandomizer

java.lang.Object
io.github.krandom.randomizers.AbstractRandomizer<URL>
io.github.krandom.randomizers.net.UrlRandomizer
All Implemented Interfaces:
Randomizer<URL>

public class UrlRandomizer extends AbstractRandomizer<URL>
Generate a random URL.
  • 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