Class UUIDRandomizer

  • All Implemented Interfaces:
    io.github.krandom.api.Randomizer

    
    public class UUIDRandomizer
    extends AbstractRandomizer<T>
                        

    Generate a random UUID.

    Author:

    Pascal Schumacher (https://github.com/PascalSchumacher)

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      UUID getRandomValue() Generate a random value for the given type.
      • Methods inherited from class io.github.krandom.randomizers.AbstractRandomizer

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UUIDRandomizer

        UUIDRandomizer(long seed)
        Create a new UUIDRandomizer.
        Parameters:
        seed - initial seed
    • Method Detail

      • getRandomValue

         UUID getRandomValue()

        Generate a random value for the given type.

        Returns:

        a random value for the given type