Errai 3.0.1-SNAPSHOT

org.jboss.errai.otec.client.util
Class GUIDUtil

java.lang.Object
  extended by org.jboss.errai.otec.client.util.GUIDUtil

public final class GUIDUtil
extends Object

Simple GUID utility that implements a modified form of the Linear Congruent Generator (LCG) algorithm, to create psuedo-random GUIDs. The generator is double seeded by system time. Once when the GUIDUtil class is loaded, and then its seeded again based on the time that createGUID is called.

Author:
Mike Brock

Method Summary
static String createGUID()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createGUID

public static String createGUID()

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.