Java UUID Create generateGUID()

Here you can find the source of generateGUID()

Description

Generates a GUID

License

Open Source License

Return

a unique identifier which will statistically speaking be Globally Unique

Declaration

public static String generateGUID() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    /**/*from   ww  w .  j  a va2  s  .c o m*/
     * Generates a GUID
     * @return a unique identifier which will statistically speaking be Globally Unique
     */
    public static String generateGUID() {
        return java.util.UUID.randomUUID().toString();
    }
}

Related

  1. generateCurrentTimestampUUID()
  2. generateEmailPrefix()
  3. generateFakedDeviceTokenString()
  4. generateFileName(String path)
  5. generateGUID()
  6. generateId()
  7. generateID()
  8. generateId()
  9. generateRandomMap(int count)