public enum HazmatWater extends Enum<HazmatWater>
YES| Enum Constant and Description |
|---|
NO |
PERMISSIVE |
YES |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static HazmatWater |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HazmatWater[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HazmatWater YES
public static final HazmatWater PERMISSIVE
public static final HazmatWater NO
public static final String KEY
public static HazmatWater[] values()
for (HazmatWater c : HazmatWater.values()) System.out.println(c);
public static HazmatWater 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 toString()
toString in class Enum<HazmatWater>Copyright © 2012–2020. All rights reserved.