标签:and rand string nbsp span get hash bsp 生成
public class UniqueId { public static String getUUId(){ int machineld = 1; int hashCodeV = UUID.randomUUID().toString().hashCode(); if(hashCodeV<0){ hashCodeV = - hashCodeV; } return machineld+String.format("%015d",hashCodeV); } }
标签:and rand string nbsp span get hash bsp 生成
原文地址:https://www.cnblogs.com/baizhuang/p/11513154.html