JAVA生成隨機ID(UUID)

生成隨機ID,常常在添加數據到數據庫中使用web public static String getUUID(){ UUID uuid=UUID.randomUUID(); String str = uuid.toString(); String uuidStr=str.replace("-", ""); return uuidStr
相關文章
相關標籤/搜索