public static enum Nemesis.Traffic extends java.lang.Enum<Nemesis.Traffic>
Modifier and Type | Method and Description |
---|---|
static Nemesis.Traffic |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Nemesis.Traffic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Nemesis.Traffic LOW
public static final Nemesis.Traffic HIGH
public static Nemesis.Traffic[] values()
for (Nemesis.Traffic c : Nemesis.Traffic.values()) System.out.println(c);
public static Nemesis.Traffic 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 nullCopyright © 2009- The Apache Software Foundation