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. def != (arg0: AnyRef): Boolean

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. 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

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

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

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

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

    Creates a new UUID by parsing 36 chars.

    Creates a new UUID by parsing 36 chars.

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

    Creates a new UUID by concatenating 16 bytes.

    Creates a new UUID by concatenating 16 bytes.

    Attributes
    final
  10. 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.

    Attributes
    final
  11. 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.

    Attributes
    final
  12. 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.

    Attributes
    final
  13. 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

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

    Attributes
    final
    Definition Classes
    Any
  15. def clone (): AnyRef

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

    Attributes
    final
    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. 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.

    Attributes
    final
    Annotations
    @inline()
  20. 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.

    Attributes
    final
    Annotations
    @inline()
  21. 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.

    Attributes
    final
    Annotations
    @inline()
  22. 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.

    Attributes
    final
    Annotations
    @inline()
  23. 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.

    Attributes
    final
    Annotations
    @inline()
  24. 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.

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

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

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

    Attributes
    final
    Definition Classes
    Any
  28. 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.

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  32. 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.

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

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

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

    Attributes
    final
  34. 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.

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

    Attributes
    final
    Definition Classes
    AnyRef
  36. def toString (): String

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

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

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

    Attributes
    final
  38. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any