Package org.hibernate.id.uuid
Class Helper
- java.lang.Object
-
- org.hibernate.id.uuid.Helper
-
public final class Helper extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
format(int value)
static String
format(short value)
static byte[]
getAddressBytes()
static String
getAddressHexString()
static int
getAddressInt()
static byte[]
getCountBytes()
static short
getCountShort()
Unique in a millisecond for this JVM instance (unless there are more than 32767 instances created in a millisecond)static byte[]
getJvmIdentifierBytes()
static String
getJvmIdentifierHexString()
static int
getJvmIdentifierInt()
-
-
-
Method Detail
-
getAddressBytes
public static byte[] getAddressBytes()
-
getAddressInt
public static int getAddressInt()
-
getAddressHexString
public static String getAddressHexString()
-
getJvmIdentifierBytes
public static byte[] getJvmIdentifierBytes()
-
getJvmIdentifierInt
public static int getJvmIdentifierInt()
-
getJvmIdentifierHexString
public static String getJvmIdentifierHexString()
-
getCountShort
public static short getCountShort()
Unique in a millisecond for this JVM instance (unless there are more than 32767 instances created in a millisecond)
-
getCountBytes
public static byte[] getCountBytes()
-
format
public static String format(int value)
-
format
public static String format(short value)
-
-