如何使用Kotlin轻松完成这项工作?
if (translation.equals(TRANSLATION_X) ||
translation.equals(TRANSLATION_Y) ||
translation.equals(TRANSLATION_Z)
) {
return
} else {
translation = TRANSLATION_X
}
Run Code Online (Sandbox Code Playgroud) kotlin ×1