Created
December 18, 2019 08:27
-
-
Save HoweChen/c62cc57b5e73cf80a2245781f0b98550 to your computer and use it in GitHub Desktop.
[字符串是否是合法enum] #Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// should use org.apache.commons.lang3 | |
EnumUtils.isValidEnum(enumxxx.class,str); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment