@Immutable public class ThriftEnumMetadata<T extends Enum<T>> extends Object
| Constructor and Description |
|---|
ThriftEnumMetadata(String enumName,
Class<T> enumClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Map<T,Integer> |
getByEnumConstant() |
Map<Integer,T> |
getByEnumValue() |
com.google.common.collect.ImmutableList<String> |
getDocumentation() |
Map<T,com.google.common.collect.ImmutableList<String>> |
getElementsDocumentation() |
Class<T> |
getEnumClass() |
String |
getEnumName() |
Optional<T> |
getUnknownEnumConstant() |
int |
hashCode() |
String |
toString() |
public ThriftEnumMetadata(String enumName, Class<T> enumClass) throws RuntimeException
RuntimeExceptionCopyright © 2012–2019. All rights reserved.