org.doomdark.uuid
Class UUIDTimer

java.lang.Object
  extended by org.doomdark.uuid.UUIDTimer

public class UUIDTimer
extends java.lang.Object

UUIDTimer produces the time stamps required for time-based UUIDs. It works according to UUID-specification, with following modifications:

Some additional assumptions about calculating the timestamp:


Constructor Summary
UUIDTimer(java.security.SecureRandom rnd)
           
 
Method Summary
 void getTimestamp(byte[] uuidData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UUIDTimer

public UUIDTimer(java.security.SecureRandom rnd)
Method Detail

getTimestamp

public void getTimestamp(byte[] uuidData)


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.