org.hibernate.id.uuid
Class Helper

java.lang.Object
  extended by org.hibernate.id.uuid.Helper

public class Helper
extends java.lang.Object

TODO : javadoc

Author:
Steve Ebersole

Constructor Summary
Helper()
           
 
Method Summary
static java.lang.String format(int value)
           
static java.lang.String format(short value)
           
static byte[] getAddressBytes()
           
static java.lang.String getAddressHexString()
           
static int getAddressInt()
           
static byte[] getCountBytes()
           
static short getCountShort()
          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.String getJvmIdentifierHexString()
           
static int getJvmIdentifierInt()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Helper

public Helper()
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)

main

public static void main(java.lang.String[] args)
                 throws java.net.UnknownHostException
Throws:
java.net.UnknownHostException


Copyright © 2011. All Rights Reserved.