net.sf.juoserver.model
Enum ClientFlag
java.lang.Object
java.lang.Enum<ClientFlag>
net.sf.juoserver.model.ClientFlag
- All Implemented Interfaces:
- Serializable, Comparable<ClientFlag>
public enum ClientFlag
- extends Enum<ClientFlag>
T2A
public static final ClientFlag T2A
Renaissance
public static final ClientFlag Renaissance
ThirdDawn
public static final ClientFlag ThirdDawn
LBR
public static final ClientFlag LBR
AOS
public static final ClientFlag AOS
SE
public static final ClientFlag SE
SA
public static final ClientFlag SA
UO3D
public static final ClientFlag UO3D
TheeDClient
public static final ClientFlag TheeDClient
values
public static ClientFlag[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ClientFlag c : ClientFlag.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ClientFlag valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getFlag
public int getFlag()
parse
public static EnumSet<ClientFlag> parse(int clientFlag)
Copyright © 2010-2012. All Rights Reserved.