com.empireclassic.Remote
Enum Sector.Des
java.lang.Object
java.lang.Enum<Sector.Des>
com.empireclassic.Remote.Sector.Des
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Sector.Des>
- Enclosing class:
- Sector
public static enum Sector.Des
- extends java.lang.Enum<Sector.Des>
- implements java.io.Serializable
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
WATER
public static final Sector.Des WATER
MOUNTAIN
public static final Sector.Des MOUNTAIN
RURAL
public static final Sector.Des RURAL
SANCTUARY
public static final Sector.Des SANCTUARY
CAPITOL
public static final Sector.Des CAPITOL
URBAN
public static final Sector.Des URBAN
FORT
public static final Sector.Des FORT
MINE
public static final Sector.Des MINE
EXPLOSIVE
public static final Sector.Des EXPLOSIVE
ARTILLERY
public static final Sector.Des ARTILLERY
DOCK
public static final Sector.Des DOCK
PLANE
public static final Sector.Des PLANE
AIRPORT
public static final Sector.Des AIRPORT
RADAR
public static final Sector.Des RADAR
WATERWAY
public static final Sector.Des WATERWAY
TRADE
public static final Sector.Des TRADE
UNKNOWN
public static final Sector.Des UNKNOWN
designations
public static final java.lang.String designations
- See Also:
- Constant Field Values
designationsMatcher
public static final java.lang.String designationsMatcher
- See Also:
- Constant Field Values
values
public static final Sector.Des[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Sector.Des c : Sector.Des.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Sector.Des valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
getValue
public int getValue()
fromInt
public static Sector.Des fromInt(int i)
fromChar
public static Sector.Des fromChar(char c)
asChar
public char asChar()
getDescription
public java.lang.String getDescription()
count
public static int count()
writeObject
public void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
readObject
public void readObject(java.io.ObjectInputStream in)
throws java.io.IOException
- Throws:
java.io.IOException