Scru128Id class
SCRU128: Sortable, Clock and Random number-based Unique identifier
- Implemented types
Constructors
- Scru128Id()
-
Generates a new SCRU128 ID object.
factory
Properties
- counterHi → int
-
no setter
- counterLo → int
-
no setter
- entropy → int
-
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- isSpecial → bool
-
true if this is the Special-purpose IDs.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → int
-
no setter
Methods
-
compareTo(
Scru128Id other) → int -
Compares this object to another object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator <(
Scru128Id other) → bool -
operator <=(
Scru128Id other) → bool -
operator ==(
Object other) → bool -
The equality operator.
override