Class UriRandomizer

  • All Implemented Interfaces:
    Randomizer<java.net.URI>

    public class UriRandomizer
    extends AbstractRandomizer<java.net.URI>
    Generate a random URI.
    Author:
    Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
    • Constructor Detail

      • UriRandomizer

        public UriRandomizer()
        Create a new UriRandomizer.
      • UriRandomizer

        public UriRandomizer​(long seed)
        Create a new UriRandomizer.
        Parameters:
        seed - initial seed
    • Method Detail

      • getRandomValue

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