Change ENUM's value inside the ENUM class function using this in JAVA

前端 未结 0 440
一向
一向 2020-12-12 14:23

I have a Java enum called entry. My goal is to have a function which changes the enum value to the other one. In case my enum value is X, I want it to become Y and vice vers

相关标签:
回答
  • 消灭零回复
提交回复
热议问题