cgl.sequencer.uuidgen
Class Win32UUIDGen

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

public final class Win32UUIDGen
extends java.lang.Object
implements UUIDGen

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

Constructor Summary
Win32UUIDGen()
           
 
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

Win32UUIDGen

public Win32UUIDGen()
Method Detail

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_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(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)