cgl.sequencer.uuidgen
Class DefaultUUIDGen

java.lang.Object
  extended bycgl.sequencer.uuidgen.DefaultUUIDGen
All Implemented Interfaces:
UUIDGen

public class DefaultUUIDGen
extends java.lang.Object
implements UUIDGen

Author:
Mehmet S. Aktas (maktas@indiana.edu)

Constructor Summary
DefaultUUIDGen()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 java.lang.String uuidgen_with_timestamp()
          Generates a UUID and returns it's value as a String
 java.lang.String uuidgen()
          Generates a UUID and returns it's value as a String
 java.lang.String[] uuidgen(int nmbr)
          Generates a collection of UUID's and returns thier values as an array of Strings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUUIDGen

public DefaultUUIDGen()
Method Detail

uuidgen_with_timestamp

public java.lang.String uuidgen_with_timestamp()
Description copied from interface: UUIDGen
Generates a UUID and returns it's value as a String

Specified by:
uuidgen_with_timestamp in interface UUIDGen
Returns:
The new UUID value as a String

uuidgen

public java.lang.String uuidgen()
Description copied from interface: UUIDGen
Generates a UUID and returns it's value as a String

Specified by:
uuidgen in interface UUIDGen
Returns:
The new UUID value as a String

uuidgen

public java.lang.String[] uuidgen(int nmbr)
Description copied from interface: UUIDGen
Generates a collection of UUID's and returns thier values as an array of Strings

Specified by:
uuidgen in interface UUIDGen
Parameters:
nmbr - The number of UUID's to generate
Returns:
An array of UUID's as String objects

main

public static void main(java.lang.String[] args)