Class RFC4122.Version5
java.lang.Object
com.pholser.junit.quickcheck.generator.Generator<UUID>
com.pholser.junit.quickcheck.generator.java.util.RFC4122.AbstractUUIDGenerator
com.pholser.junit.quickcheck.generator.java.util.RFC4122.NameBasedUUIDGenerator
com.pholser.junit.quickcheck.generator.java.util.RFC4122.Version5
- Enclosing class:
- RFC4122
Produces values of type
UUID that are RFC 4122 Version 5
identifiers.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(RFC4122.Namespace namespace) Tells this generator to prepend the given "namespace" UUID to the names it generates for UUID production.Methods inherited from class com.pholser.junit.quickcheck.generator.java.util.RFC4122.NameBasedUUIDGenerator
generate, setNamespaceMethods inherited from class com.pholser.junit.quickcheck.generator.java.util.RFC4122.AbstractUUIDGenerator
newUUID, setVariant, setVersionMethods inherited from class com.pholser.junit.quickcheck.generator.Generator
addComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, canShrink, compatibleWithTypeParameter, configurationAnnotationsOn, configure, configure, copy, doShrink, gen, gen, hasComponents, magnitude, narrow, numberOfNeededComponents, provide, shrink, types
-
Constructor Details
-
Version5
public Version5()
-
-
Method Details
-
configure
Tells this generator to prepend the given "namespace" UUID to the names it generates for UUID production.- Parameters:
namespace- a handle for a "namespace" UUID
-