Yes, Enum.valueOf() will work fine. Blah.valueOf("Q") will give you Blah.Q. Here's the method you can use to find the enum value of a string ...
確定! 回上一頁