public final class IntegerUuid extends Object
Constructor and Description |
---|
IntegerUuid()
Constructor that generates a new UUID using the current process id, MAC
address, and timestamp
|
IntegerUuid(byte[] bytes)
Constructor that takes a byte array as this UUID's content
|
IntegerUuid(int value) |
IntegerUuid(String idsource) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
byte[] |
getBytes()
copy the uuid of this UUID, so that it can't be changed, and return it
|
int |
getInt() |
long |
getTimestamp()
extract timestamp from raw UUID bytes and return as int
|
int |
hashCode() |
String |
toString() |
public IntegerUuid()
public IntegerUuid(byte[] bytes)
bytes
- UUID contentpublic IntegerUuid(int value)
public IntegerUuid(String idsource)
public byte[] getBytes()
public long getTimestamp()
public int getInt()
Copyright © 2009–2020 Waarp. All rights reserved.