I have a great tool method: ... if( c != null && string != null ) { ... return Enum.valueOf(c, string.trim().toUpperCase());. } ... return null; ... You can use it like ...
確定! 回上一頁