1 import java.util.UUID;
 2 
 3 /**
 4  * UUID生成工具
 5  * 
 6  */
 7 
 8 public final class UuidGenUtils {
 9 
10     /**
11      * 生成一个UUID串(32个字符,其中的字母为小写)
12      * @return
13      * @throws
14      */
15     public static String genUUID() {
16         return UUID.randomUUID().toString().replaceAll("-", "");
17     }
18 }

 

相关文章:

  • 2022-02-10
  • 2021-06-21
  • 2022-12-23
  • 2022-02-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-13
  • 2021-04-11
  • 2021-12-18
  • 2021-06-10
  • 2021-05-16
  • 2022-12-23
相关资源
相似解决方案