java方式生成惟一id

public class IdCreateUtil { private static final long EPOCH = 1479533469598L; //開始時間,固定一個小於當前時間的毫秒數 private static final int max12bit = 4095; private static final long max41bit= 1099511627
相關文章
相關標籤/搜索