Packages

object UUID extends Serializable

Source
UUID.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UUID
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val SignedMaxValue: UUID

    7fffffffffff-ffff-7fff-ffffffffffff

  5. val SignedMinValue: UUID

    800000000000-0000-8000-000000000000

  6. val UnsignedMaxValue: UUID

    ffffffffffff-ffff-ffff-ffffffffffff

  7. val Zero: UUID

    000000000000-0000-0000-000000000000

  8. def apply(uuid: String): UUID
  9. def apply(uuid: BigInteger): UUID
  10. def apply(uuid: BigInt): UUID
  11. def apply(uuid: java.util.UUID): UUID
  12. def apply(bytes: Array[Byte]): UUID
  13. def apply(bytes: ImmutableArray[Byte]): UUID
  14. def apply(epochMilli: Long, counter: Int, nodeId: Int, random: Long): UUID
  15. def apply(instant: Instant): UUID
  16. def apply(date: ImmutableDate): UUID
  17. def apply(date: Date): UUID
  18. def apply(nodeId: Int): UUID

    Creates a new UUID based on the current time with the given node id

  19. def apply(): UUID

    Creates a new UUID based on the current time with a random node id

  20. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. def forEpochMilli(epochMilli: Long): UUID
  25. def get(bytes: Array[Byte]): Option[UUID]
  26. def get(bytes: ImmutableArray[Byte]): Option[UUID]
  27. def get(uuid: String): Option[UUID]
  28. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def isValid(uuid: String): Boolean
  32. def main(args: Array[String]): Unit

    A non-scientific super simple performance tester

  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. def random(): UUID

    Creates a completely random UUID

  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. implicit object ordering extends Ordering[UUID]
  43. object parse

    Can use this in an extractor: val Array(UUID.parse(first), UUID.parse(second)) = s.split(':')

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped