JAVA生成随机ID(UUID)

生成随机ID,常常在添加数据到数据库中使用web public static String getUUID(){ UUID uuid=UUID.randomUUID(); String str = uuid.toString(); String uuidStr=str.replace("-", ""); return uuidStr
相关文章
相关标签/搜索