标签:pre 工具 com package ack util stat main eal
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();
}
}
标签:pre 工具 com package ack util stat main eal
原文地址:https://www.cnblogs.com/LQ970811/p/12040344.html