public enum DisConfigTypeEnum extends Enum<DisConfigTypeEnum>
| Modifier and Type | Method and Description |
|---|---|
static DisConfigTypeEnum |
getByType(int type) |
String |
getModelName() |
int |
getType() |
void |
setModelName(String modelName) |
void |
setType(int type) |
static DisConfigTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisConfigTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisConfigTypeEnum FILE
public static final DisConfigTypeEnum ITEM
public static DisConfigTypeEnum[] values()
for (DisConfigTypeEnum c : DisConfigTypeEnum.values()) System.out.println(c);
public static DisConfigTypeEnum 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 static DisConfigTypeEnum getByType(int type)
public int getType()
public void setType(int type)
public String getModelName()
public void setModelName(String modelName)
Copyright © 2015–2016 Baidu. All rights reserved.