getEnumValue
public static Enum<? extends Object> getEnumValue<T>(Class<Enum<? extends Object>> enumClass, String expectedName, double similarity)(source)
Returns the specified enum value.
Return
the specified enum value
Parameters
<T>
the type of the enum class
enumClass
the enum class
expectedName
the name of the enum class
similarity
the min similarity of the name
Returns a specific enum value.
Return
the specific enum value
Parameters
expectedName
the enum class name to retrieve the value.
similarity
the min similarity