org.jboss.errai.otec.client.util
Class GUIDUtil
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createGUID
public static String createGUID()
Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.