Android UUID Create getRandomUUID()

Here you can find the source of getRandomUUID()

Description

get Random UUID

Declaration

public static String getRandomUUID() 

Method Source Code

//package com.java2s;
import java.util.UUID;

public class Main {

    public static String getRandomUUID() {
        UUID uuid = UUID.randomUUID();
        return uuid.toString().replaceAll("-", "");
    }/*  w  w w. j ava2 s.com*/
}

Related

  1. createUUID()
  2. getUUID()
  3. getNewUUID()
  4. UUID()