Java UUID Create genMsgId()

Here you can find the source of genMsgId()

Description

gen Msg Id

License

Open Source License

Declaration

public static String genMsgId() 

Method Source Code


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

public class Main {
    private static Random r = new Random();

    public static String genMsgId() {
        return UUID.randomUUID().toString() + r.nextInt(10);
    }//from   w  w  w  . ja va2  s  . c  o  m
}

Related

  1. generateUUIDRandom()
  2. generateUuidStringStatic()
  3. generatorToken()
  4. generatorTransactionPath(String namespace)
  5. genMonUUID(String prefix)
  6. genOntologyNS(String base)
  7. genRandom(int length)
  8. genRandomString(int len)
  9. get36UUID()