public enum ESender extends Enum<ESender>
ESender.
| Modifier and Type | Method and Description |
|---|---|
static ESender |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ESender[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ESender SERVER
public static final ESender CLIENT
public static ESender[] values()
for (ESender c : ESender.values()) System.out.println(c);
public static ESender 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 © 2012-2013 hermod. All Rights Reserved.