Uid

rdts.base.Uid
See theUid companion class
object Uid

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Uid.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def gen(): Uid

Generate a new unique ID. Uses 48 bit of a process local random value + up to 64 of a counter. Encoded as a string using 9 bytes + 1 byte per 6 bits of the counter value.

Generate a new unique ID. Uses 48 bit of a process local random value + up to 64 of a counter. Encoded as a string using 9 bytes + 1 byte per 6 bits of the counter value.

Attributes

def predefined(s: String): Uid
def unwrap(id: Uid): String

Concrete fields

val jvmID: String
val zero: Uid

Givens

Givens

given derived$CanEqual: CanEqual[Uid, Uid]
given ordering: Ordering[Uid]
given toLocal: Conversion[Uid, LocalUid]

Extensions

Extensions

extension (s: String)
def asId: Uid