public enum EnumCM_Substances extends java.lang.Enum<EnumCM_Substances>
| Enum Constant and Description |
|---|
AMPHETAMINE |
CAFFEINE |
CHEWING_TOBACCO |
CIGARETTE_SMOKING_TOBACCO |
COCAINE |
ETHYL_ALCOHOL |
HEROIN |
LYSERGIC_ACID_DIETHLYAMIDE |
MARIJUANA_DERIVATIVE |
MESCALINE |
METHADONE |
METHLYPHENIDATE |
MORPHINE |
PHENCYCLIDINE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
This function returns the String value of this enum.
|
static EnumCM_Substances |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumCM_Substances[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumCM_Substances ETHYL_ALCOHOL
public static final EnumCM_Substances AMPHETAMINE
public static final EnumCM_Substances MARIJUANA_DERIVATIVE
public static final EnumCM_Substances COCAINE
public static final EnumCM_Substances HEROIN
public static final EnumCM_Substances LYSERGIC_ACID_DIETHLYAMIDE
public static final EnumCM_Substances MESCALINE
public static final EnumCM_Substances PHENCYCLIDINE
public static final EnumCM_Substances METHADONE
public static final EnumCM_Substances MORPHINE
public static final EnumCM_Substances METHLYPHENIDATE
public static final EnumCM_Substances CHEWING_TOBACCO
public static final EnumCM_Substances CIGARETTE_SMOKING_TOBACCO
public static final EnumCM_Substances CAFFEINE
public static EnumCM_Substances[] values()
for (EnumCM_Substances c : EnumCM_Substances.values()) System.out.println(c);
public static EnumCM_Substances valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()