* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class UUIDTest {
public static void main(String[] args) {
UUIDGenerator gen = UUIDGenerator.getInstance();
UUID time = gen.generateTimeBasedUUID();
System.out.println(time);
time = gen.generateRandomBasedUUID();
System.out.println(time);
for (int i = 0; i < 10; i++) {
Timestamp tmp = new Timestamp(new Date().getTime());
System.out.println(tmp.getTime() + " - " + System.currentTimeMillis());