How to turn Integer to enumeration value
This question already has an answer here:
你可以直接施放它
SomeType someType = (SomeType)i;
链接地址: http://www.djcxy.com/p/22534.html
上一篇: 检测你在JavaScript上的页面?
下一篇: 如何将Integer转换为枚举值