enum class PaymentStatus(val value: Int) { PAID(1), UNPAID(2) }. and I want to use it in a when idiom. fun f(int x) { val foo = when (x) ...
確定! 回上一頁