Package org.doomdark.uuid

Examples of org.doomdark.uuid.UUIDGenerator.generateTimeBasedUUID()


* 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);

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.