Package org.citydb.event.global
Enum CounterType
- java.lang.Object
-
- java.lang.Enum<CounterType>
-
- org.citydb.event.global.CounterType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CounterType>
public enum CounterType extends java.lang.Enum<CounterType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILE
GLOBAL_APPEARANCE
REMAINING_TILES
TEXTURE_IMAGE
TOPLEVEL_FEATURE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CounterType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CounterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXTURE_IMAGE
public static final CounterType TEXTURE_IMAGE
-
GLOBAL_APPEARANCE
public static final CounterType GLOBAL_APPEARANCE
-
TOPLEVEL_FEATURE
public static final CounterType TOPLEVEL_FEATURE
-
FILE
public static final CounterType FILE
-
REMAINING_TILES
public static final CounterType REMAINING_TILES
-
-
Method Detail
-
values
public static CounterType[] 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 (CounterType c : CounterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CounterType 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 namejava.lang.NullPointerException
- if the argument is null
-
-