@Authors(value="Nikolche Mihajlovski") @Since(value="5.3.0") public final class TUUID extends org.rapidoid.RapidoidThing implements Comparable<TUUID>
| Constructor and Description |
|---|
TUUID() |
TUUID(long time,
long uuidHigh,
long uuidLow) |
TUUID(long time,
String id) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TUUID other) |
boolean |
equals(Object o) |
static TUUID |
fromBytes(byte[] bytes) |
static TUUID |
fromString(String tuuid) |
int |
hashCode() |
long |
time() |
byte[] |
toBytes() |
String |
toString() |
long |
uuidHigh() |
long |
uuidLow() |
public TUUID()
public TUUID(long time,
long uuidHigh,
long uuidLow)
public TUUID(long time,
String id)
public long time()
public long uuidHigh()
public long uuidLow()
public int compareTo(TUUID other)
compareTo in interface Comparable<TUUID>public byte[] toBytes()
public static TUUID fromBytes(byte[] bytes)
Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.