Java UUID Create generateID()

Here you can find the source of generateID()

Description

This method generates unique IDs for LOD properties.

License

Apache License

Return

unique ID as a string

Declaration

public static String generateID() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.UUID;

public class Main {
    /**/*w w w  .j a  v  a 2 s .c  o m*/
     * This method generates unique IDs for LOD properties.
     * 
     * @return unique ID as a string
     */
    public static String generateID() {
        return UUID.randomUUID().toString();
    }
}

Related

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