Factory

interface Factory

Typed UUID: Factory

Describes the layout of static methods which are available to obtain (generate, parse) UUID values.

Inheritors

Functions

Link copied to clipboard
abstract fun of(value: UUIDValue): UUIDValue

Wrap an existing UUID from an already-structured value.

abstract fun of(value: UUID): UUIDValue

Wrap an existing Java-originating UUID.

abstract fun of(value: String): UUIDValue

Wrap an existing UUID from a string value.

Link copied to clipboard
abstract fun random(): UUIDValue

Generate a random UUIDv4.