public enum ToxicDirection extends Enum<ToxicDirection>
| Enum Constant and Description |
|---|
DOWNSTREAM |
UPSTREAM |
| Modifier and Type | Method and Description |
|---|---|
static ToxicDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToxicDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToxicDirection DOWNSTREAM
public static final ToxicDirection UPSTREAM
public static ToxicDirection[] values()
for (ToxicDirection c : ToxicDirection.values()) System.out.println(c);
public static ToxicDirection 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 nullCopyright © 2018. All rights reserved.