UUID使用

String str = UUID.randomUUID().toString();

原文地址:https://www.cnblogs.com/SkyGood/p/3959143.html