我有一个这样的枚举:enum class States(value: Int) { STATE_A(1), STATE_B(2), STATE_C(3), STATE_D(4) } 我如何获得枚举的价值?例如States.
確定! 回上一頁