public static class ULID.Value extends java.lang.Object implements java.lang.Comparable<ULID.Value>, java.io.Serializable
| Constructor and Description |
|---|
Value(long mostSignificantBits,
long leastSignificantBits) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ULID.Value val) |
boolean |
equals(java.lang.Object o) |
long |
getLeastSignificantBits()
Returns the least significant 64 bits of this ULID's 128 bit value.
|
long |
getMostSignificantBits()
Returns the most significant 64 bits of this ULID's 128 bit value.
|
int |
hashCode() |
ULID.Value |
increment() |
long |
timestamp() |
byte[] |
toBytes() |
java.lang.String |
toString() |
public long getMostSignificantBits()
public long getLeastSignificantBits()
public long timestamp()
public byte[] toBytes()
public ULID.Value increment()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int compareTo(ULID.Value val)
compareTo in interface java.lang.Comparable<ULID.Value>public java.lang.String toString()
toString in class java.lang.Object