io.jvm.uuid

StaticUUID

class StaticUUID extends AnyRef

This class holds all static forwarders and UUID factories.

Extend this class from the client code in order to add new functionality to the library.

Source
StaticUUID.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. StaticUUID
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StaticUUID()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def apply(uuid: String, strict: Boolean): UUID

    Allows for parsing using the legacy, non-strict parser used in java.util.UUID.fromString

    Allows for parsing using the legacy, non-strict parser used in java.util.UUID.fromString

    Annotations
    @inline()
  7. final def apply(uuid: String): UUID

    Creates a new UUID by parsing a String in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.

  8. final def apply(buffer: Array[Char]): UUID

    Creates a new UUID by parsing 36 chars.

    Creates a new UUID by parsing 36 chars.

    Exceptions thrown
    IllegalArgumentException

    In case buffer.length != 36

  9. final def apply(buffer: Array[Byte]): UUID

    Creates a new UUID by concatenating 16 bytes.

    Creates a new UUID by concatenating 16 bytes.

    Exceptions thrown
    IllegalArgumentException

    In case buffer.length != 16

  10. final def apply(buffer: Array[Short]): UUID

    Creates a new UUID by concatenating eight 16-bit values.

    Creates a new UUID by concatenating eight 16-bit values.

    Exceptions thrown
    IllegalArgumentException

    In case buffer.length != 8

  11. final def apply(buffer: Array[Int]): UUID

    Creates a new UUID by concatenating four 32-bit values.

    Creates a new UUID by concatenating four 32-bit values.

    Exceptions thrown
    IllegalArgumentException

    In case buffer.length != 4

  12. final def apply(buffer: Array[Long]): UUID

    Creates a new UUID by concatenating two 64-bit values.

    Creates a new UUID by concatenating two 64-bit values.

    Exceptions thrown
    IllegalArgumentException

    In case buffer.length != 2

  13. final def apply(mostSigBits: Long, leastSigBits: Long): UUID

    Creates a new UUID by concatenating two 64-bit values.

    Creates a new UUID by concatenating two 64-bit values.

    mostSigBits

    Most significant bits of the new UUID

    leastSigBits

    Least significant bits of the new UUID

    Annotations
    @inline()
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. final def fromByteArray(buffer: Array[Byte], offset: Int): UUID

    Creates a new UUID by concatenating 16 bytes.

    Creates a new UUID by concatenating 16 bytes.

    offset

    Offset of the most significant Byte inside the array.

    Annotations
    @inline()
  20. final def fromCharArray(buffer: Array[Char], offset: Int): UUID

    Creates a new UUID by parsing 36 chars in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.

    Creates a new UUID by parsing 36 chars in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.

    offset

    Position of the first Char in the array.

    Annotations
    @inline()
  21. final def fromIntArray(buffer: Array[Int], offset: Int): UUID

    Creates a new UUID by concatenating four 32-bit values.

    Creates a new UUID by concatenating four 32-bit values.

    offset

    Offset of the most significant Int inside the array.

    Annotations
    @inline()
  22. final def fromLongArray(buffer: Array[Long], offset: Int): UUID

    Creates a new UUID by concatenating two 64-bit values.

    Creates a new UUID by concatenating two 64-bit values.

    offset

    Offset of the most significant Long inside the array.

    Annotations
    @inline()
  23. final def fromShortArray(buffer: Array[Short], offset: Int): UUID

    Creates a new UUID by concatenating eight 16-bit values.

    Creates a new UUID by concatenating eight 16-bit values.

    offset

    Offset of the most significant Short inside the array.

    Annotations
    @inline()
  24. final def fromString(name: String): UUID

    Creates a new UUID by parsing a String in legacy (non-strict) format.

    Creates a new UUID by parsing a String in legacy (non-strict) format.

    Annotations
    @inline()
  25. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. final def nameUUIDFromBytes(name: Array[Byte]): UUID

    Digests the provided byte array using MD5 and returns a type 3 (name based) UUID.

    Digests the provided byte array using MD5 and returns a type 3 (name based) UUID.

    Annotations
    @inline()
  29. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  30. final def notify(): Unit

    Definition Classes
    AnyRef
  31. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  32. final def random: UUID

    Generates a random UUID (type 4) using a cryptographically strong pseudo random number generator.

    Generates a random UUID (type 4) using a cryptographically strong pseudo random number generator.

    Annotations
    @inline()
  33. final def randomString: String

    Generates a random UUID (type 4) and returns its lowercase String representation

  34. final def randomUUID(): UUID

    Generates a random UUID (type 4) using a cryptographically strong pseudo random number generator.

    Generates a random UUID (type 4) using a cryptographically strong pseudo random number generator.

    Annotations
    @inline()
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. final def unapply(uuid: String): Option[UUID]

    Extractor which parses a String in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.

  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any