io.jvm.uuid

RichUUID

class RichUUID extends AnyRef

Pimp-my-library pattern, wrapping the underlying java.util.UUID.

This class extends AnyVal, making all the extension methods have little-to-no runtime overhead.

The pimp is complete through an implicit conversion in the uuid.Imports trait or the io.jvm.uuid.package package object.

Attributes
final
Source
RichUUID.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. RichUUID
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

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 asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  7. def byteArray : Array[Byte]

    Encodes this UUID as a Byte array with 16 elements.

  8. def charArray : Array[Char]

    Encodes this UUID as a Char array with 36 elements in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.

  9. def clone (): AnyRef

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

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  14. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  15. def intArray : Array[Int]

    Encodes this UUID as an Int array with 4 elements.

  16. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  17. def leastSigBits : Long

    Returns the least significant 64 bits of this UUID.

  18. def longArray : Array[Long]

    Encodes this UUID as a Long array with 2 elements.

  19. def mostSigBits : Long

    Returns the most significant 64 bits of this UUID.

  20. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  23. def shortArray : Array[Short]

    Encodes this UUID as a Short array with 8 elements.

  24. def string : String

    Returns this UUID as a String in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.

    Returns this UUID as a String in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format. Hexadecimal characters will be lower-cased. This method is an optimized drop in replacement for the legacy toString method.

  25. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  26. def toByteArray (buffer: Array[Byte], offset: Int): Unit

    Writes this UUID to the provided Byte array.

    Writes this UUID to the provided Byte array.

    Annotations
    @inline()
  27. def toCharArray (buffer: Array[Char], offset: Int): Unit

    Writes this UUID to the provided Char array in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.

  28. def toIntArray (buffer: Array[Int], offset: Int): Unit

    Writes this UUID to the provided Int array.

    Writes this UUID to the provided Int array.

    Annotations
    @inline()
  29. def toLongArray (buffer: Array[Long], offset: Int): Unit

    Writes this UUID to the provided Long array.

    Writes this UUID to the provided Long array.

    Annotations
    @inline()
  30. def toLowerCase : String

    Alias for string which implicitly returns a lower-cased String.

    Alias for string which implicitly returns a lower-cased String.

    Annotations
    @inline()
  31. def toShortArray (buffer: Array[Short], offset: Int): Unit

    Writes this UUID to the provided Short array.

    Writes this UUID to the provided Short array.

    Annotations
    @inline()
  32. def toString (): String

    Definition Classes
    AnyRef → Any
  33. def toUpperCase : String

    Returns this UUID as a String in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format.

    Returns this UUID as a String in xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx format. Hexadecimal characters will be upper-cased.

  34. val uuid : UUID

  35. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any