net.sf.freecol.common.model
Enum Settlement.SettlementType
java.lang.Object
java.lang.Enum<Settlement.SettlementType>
net.sf.freecol.common.model.Settlement.SettlementType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Settlement.SettlementType>
- Enclosing class:
- Settlement
public static enum Settlement.SettlementType
- extends java.lang.Enum<Settlement.SettlementType>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
SMALL
public static final Settlement.SettlementType SMALL
MEDIUM
public static final Settlement.SettlementType MEDIUM
LARGE
public static final Settlement.SettlementType LARGE
SMALL_STOCKADE
public static final Settlement.SettlementType SMALL_STOCKADE
MEDIUM_STOCKADE
public static final Settlement.SettlementType MEDIUM_STOCKADE
MEDIUM_FORT
public static final Settlement.SettlementType MEDIUM_FORT
LARGE_STOCKADE
public static final Settlement.SettlementType LARGE_STOCKADE
LARGE_FORT
public static final Settlement.SettlementType LARGE_FORT
LARGE_FORTRESS
public static final Settlement.SettlementType LARGE_FORTRESS
UNDEAD
public static final Settlement.SettlementType UNDEAD
INDIAN_CAMP
public static final Settlement.SettlementType INDIAN_CAMP
INDIAN_VILLAGE
public static final Settlement.SettlementType INDIAN_VILLAGE
AZTEC_CITY
public static final Settlement.SettlementType AZTEC_CITY
INCA_CITY
public static final Settlement.SettlementType INCA_CITY
values
public static Settlement.SettlementType[] 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 (Settlement.SettlementType c : Settlement.SettlementType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Settlement.SettlementType 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
java.lang.NullPointerException
- if the argument is null