@UnstableApi public final class EnumValueInfo extends Object
| Constructor and Description |
|---|
EnumValueInfo(String name)
Creates a new instance.
|
EnumValueInfo(String name,
Integer intValue)
Creates a new instance.
|
EnumValueInfo(String name,
Integer intValue,
String docString)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
docString()
Returns the documentation string that describes the enum value.
|
boolean |
equals(Object o) |
int |
hashCode() |
Integer |
intValue()
Returns the integer value of the enum value.
|
String |
name()
Returns the name of the enum value.
|
String |
toString() |
public EnumValueInfo(String name)
name - the name of the enum valuepublic EnumValueInfo(String name, Integer intValue)
name - the name of the enum valueintValue - the integer value of the enum valueCopyright © 2020 LeanCloud. All rights reserved.