toggle menu
Simple Robot
4.8.0
jvm
switch theme
search in API
simbot-common-core
/
love.forte.simbot.common.id
/
uuidOf
uuid
Of
jvm
@
JvmName
(
name
=
"uuid"
)
@
JvmOverloads
@
ID4J
fun
uuidOf
(
random
:
Random
?
=
null
)
:
UUID
(
source
)
See also
UUID.
Companion.
random
@
JvmName
(
name
=
"uuid"
)
@
ID4J
fun
uuidOf
(
javaUuid
:
UUID
)
:
UUID
(
source
)
将
java.util.UUID
转化为
UUID
。
See also
simbot
UUID
@
JvmName
(
name
=
"uuid"
)
@
ID4J
fun
uuidOf
(
javaRandom
:
Random
?
)
:
UUID
(
source
)
使用
java.util.Random
得到一个随机的
UUID
。
See also
simbot
UUID