标签:col pre java sub turn imp get import ret
1 import java.util.UUID; 2 3 public static String getUUID() { 4 UUID uuid =UUID.randomUUID(); 5 String str = uuid.toString(); 6 // 去掉"-"符号 7 String temp = str.substring(0, 8) +str.substring(9, 13) + str.substring(14, 18) + str.substring(19, 23) +str.substring(24); 8 return temp; 9 }
标签:col pre java sub turn imp get import ret
原文地址:https://www.cnblogs.com/ysyy/p/10711968.html