Package org.hibernate.id.uuid
Class Helper
- java.lang.Object
-
- org.hibernate.id.uuid.Helper
-
public final class Helper extends java.lang.ObjectTODO : javadoc
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Stringformat(int value)static java.lang.Stringformat(short value)static byte[]getAddressBytes()static java.lang.StringgetAddressHexString()static intgetAddressInt()static byte[]getCountBytes()static shortgetCountShort()Unique in a millisecond for this JVM instance (unless there are > Short.MAX_VALUE instances created in a millisecond)static byte[]getJvmIdentifierBytes()static java.lang.StringgetJvmIdentifierHexString()static intgetJvmIdentifierInt()
-
-
-
Method Detail
-
getAddressBytes
public static byte[] getAddressBytes()
-
getAddressInt
public static int getAddressInt()
-
getAddressHexString
public static java.lang.String getAddressHexString()
-
getJvmIdentifierBytes
public static byte[] getJvmIdentifierBytes()
-
getJvmIdentifierInt
public static int getJvmIdentifierInt()
-
getJvmIdentifierHexString
public static java.lang.String getJvmIdentifierHexString()
-
getCountShort
public static short getCountShort()
Unique in a millisecond for this JVM instance (unless there are > Short.MAX_VALUE instances created in a millisecond)
-
getCountBytes
public static byte[] getCountBytes()
-
format
public static java.lang.String format(int value)
-
format
public static java.lang.String format(short value)
-
-