final class ULID extends Ordered[ULID]
ULID string, consisting of 26 characters.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ULID
- Ordered
- Comparable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ULID(ulid: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
<(that: ULID): Boolean
- Definition Classes
- Ordered
-
def
<=(that: ULID): Boolean
- Definition Classes
- Ordered
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>(that: ULID): Boolean
- Definition Classes
- Ordered
-
def
>=(that: ULID): Boolean
- Definition Classes
- Ordered
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
compare(that: ULID): Int
- Definition Classes
- ULID → Ordered
-
def
compareTo(that: ULID): Int
- Definition Classes
- Ordered → Comparable
-
lazy val
epochMillis: Long
Get the epoch milliseconds (milliseconds from 1970-01-01 UTC) of this ULID.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- ULID → AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- ULID → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
randomness: (Long, Long)
Return 80-bits randomness value of this ULID using a pair of (Long (16-bit), Long (64-bit))
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
timestamp: Long
Return 48-bit UNIX-time of this ULID in milliseconds
-
def
toBytes: Array[Byte]
Get a 128-bit (16 byte) binary representation of this ULID.
- def toInstant: Instant
-
def
toString(): String
Return the string representation of this ULID
Return the string representation of this ULID
- Definition Classes
- ULID → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated