Class UUIDGenerator

java.lang.Object
de.cuioss.test.generator.domain.UUIDGenerator
All Implemented Interfaces:
TypedGenerator<UUID>

public class UUIDGenerator extends Object implements TypedGenerator<UUID>
Creates instances of UUIDs
  • Constructor Details

  • Method Details

    • next

      public UUID next()
      Description copied from interface: TypedGenerator
      Generates the next instance based on the generator's configuration. Implementations must ensure thread-safety.
      Specified by:
      next in interface TypedGenerator<UUID>
      Returns:
      A newly created instance. May be null if the generator explicitly supports null value generation.