Package com.sk89q.worldedit.util
Class Enums
java.lang.Object
com.sk89q.worldedit.util.Enums
Helper methods for enums.
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T extends Enum<T>>
 TfindByValue(Class<T> enumType, String... values) Search the given enum for a value that is equal to the one of the given values, searching in an ascending manner.
- 
Method Details- 
findByValueSearch the given enum for a value that is equal to the one of the given values, searching in an ascending manner.- Type Parameters:
- T- the type of enum
- Parameters:
- enumType- the enum type
- values- the list of values
- Returns:
- the found value or null
 
 
-