public class UUID extends Object
唯一ID由以下元素构成:machineId-jvmId-timestamp-counter。
machineId-jvmId-timestamp-counter
默认情况下,UUID由数字和大写字母构成。如果在构造函数时,指定noCase=false ,那么所生成的ID将包含小写字母,这样ID的长度会较短。
noCase=false
UUID()
UUID(boolean noCase)
String
nextID()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public UUID()
public UUID(boolean noCase)
public String nextID()
Copyright © 2006–2018 TinyGroup. All rights reserved.