public enum Mod extends Enum<Mod>
| Modifier and Type | Method and Description |
|---|---|
static Mod |
valueForString(String value) |
static Mod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mod tran
public static final Mod proto
public static final Mod mar
public static final Mod rpc
public static final Mod app
public static final Mod proxy
public static Mod[] values()
for (Mod c : Mod.values()) System.out.println(c);
public static Mod 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 null