Module org.elasticsearch.xcore
Interface InferenceUtils.EnumConstructor<E extends Enum<E>>
- Type Parameters:
E-
- Enclosing class:
InferenceUtils
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface for creating an enum from a string.
-
Method Summary
-
Method Details
-
apply
- Throws:
IllegalArgumentException
-