Packages

final class ULID extends Ordered[ULID]

ULID string, consisting of 26 characters.

Linear Supertypes
Ordered[ULID], Comparable[ULID], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ULID
  2. Ordered
  3. Comparable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ULID(ulid: String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def <(that: ULID): Boolean
    Definition Classes
    Ordered
  4. def <=(that: ULID): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: ULID): Boolean
    Definition Classes
    Ordered
  7. def >=(that: ULID): Boolean
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  10. def compare(that: ULID): Int
    Definition Classes
    ULID → Ordered
  11. def compareTo(that: ULID): Int
    Definition Classes
    Ordered → Comparable
  12. lazy val epochMillis: Long

    Get the epoch milliseconds (milliseconds from 1970-01-01 UTC) of this ULID.

  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(other: Any): Boolean
    Definition Classes
    ULID → AnyRef → Any
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    ULID → AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def randomness: (Long, Long)

    Return 80-bits randomness value of this ULID using a pair of (Long (16-bit), Long (64-bit))

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def timestamp: Long

    Return 48-bit UNIX-time of this ULID in milliseconds

  24. def toBytes: Array[Byte]

    Get a 128-bit (16 byte) binary representation of this ULID.

  25. def toInstant: Instant
  26. def toString(): String

    Return the string representation of this ULID

    Return the string representation of this ULID

    Definition Classes
    ULID → AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from Ordered[ULID]

Inherited from Comparable[ULID]

Inherited from AnyRef

Inherited from Any

Ungrouped