Simple Robot
Toggle table of contents
4.12.0
common
Platform filter
common
Switch theme
Search in API
Simple Robot
simbot-common-core
/
love.forte.simbot.common.id
/
StringID
/
compareTo
compare
To
open
operator override
fun
compareTo
(
other
:
ID
)
:
Int
(
source
)
使
StringID
与某任意类型的
ID
排序。
如果目标类型是
StringID
或
UUID
,则通过字面值排序。 否则(是
NumericalID
)始终得到
-1
。