生成Uuid工具类
作者:互联网
package com.freeter.util;
import java.util.UUID;
/**
* @author liuqi
* **/
public class Uuid
{
public static void getUuid(){
String uuid=UUID.randomUUID().toString().replaceAll("-","");
System.out.println("随机生成Uuid:"+uuid);
}
public static void main(String[] args) {
getUuid();
}
}
标签:Uuid,void,生成,getUuid,static,工具,public,uuid 来源: https://www.cnblogs.com/LQ970811/p/12040344.html