com.buck.commons.algorithms
Class UUIDFactory

java.lang.Object
  extended by com.buck.commons.algorithms.UUIDFactory

public final class UUIDFactory
extends Object

Constructs UUID objects 15x faster than what is provided with Java Util.

Author:
Robert J. Buck

Constructor Summary
UUIDFactory()
           
 
Method Summary
static UUID randomUUID()
          Makes a Type 4 UUID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UUIDFactory

public UUIDFactory()
Method Detail

randomUUID

public static UUID randomUUID()
Makes a Type 4 UUID.

Returns:
a uuid


Copyright © 2013. All Rights Reserved.