Example usage for Java com.google.common.base Enums fields, constructors, methods, implement or subclass
The text is from its open source code.
Field | getField(Enum> enumValue) Returns the Field in which enumValue is defined. |
Optional | getIfPresent(Class Returns an optional enum constant for the given type, using Enum#valueOf . |
Converter | stringConverter(final Class Returns a converter that converts between strings and enum values of type enumClass using Enum#valueOf(Class,String) and Enum#name() . |