public enum DictType extends Enum<DictType>
| Modifier and Type | Method and Description |
|---|---|
static DictType |
byCode(String code) |
String |
getCode()
获取 code
|
static DictType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DictType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DictType ROOT_TYPE
public static final DictType GENDER
private final String code
public static DictType[] values()
for (DictType c : DictType.values()) System.out.println(c);
public static DictType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getCode()
Copyright © 2024. All rights reserved.