public enum EPersonaState extends Enum<EPersonaState>
Enum Constant and Description |
---|
Away |
Busy |
LookingToPlay |
LookingToTrade |
Offline |
Online |
Snooze |
Modifier and Type | Field and Description |
---|---|
private int |
code |
private static HashMap<Integer,EPersonaState> |
values |
Modifier and Type | Method and Description |
---|---|
static EPersonaState |
f(int code) |
int |
v() |
static EPersonaState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EPersonaState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EPersonaState Offline
public static final EPersonaState Online
public static final EPersonaState Busy
public static final EPersonaState Away
public static final EPersonaState Snooze
public static final EPersonaState LookingToTrade
public static final EPersonaState LookingToPlay
private int code
private static HashMap<Integer,EPersonaState> values
public static EPersonaState[] values()
for (EPersonaState c : EPersonaState.values()) System.out.println(c);
public static EPersonaState 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 int v()
public static EPersonaState f(int code)
Copyright © 2012. All Rights Reserved.