uuidOf

@JvmName(name = "uuid")
fun uuidOf(random: Random? = null): UUID(source)

See also


@JvmName(name = "uuid")
fun uuidOf(javaUuid: UUID): UUID(source)

java.util.UUID 转化为 UUID

See also


@JvmName(name = "uuid")
fun uuidOf(javaRandom: Random?): UUID(source)

使用 java.util.Random 得到一个随机的 UUID

See also