Enum World.Location
- java.lang.Object
-
- java.lang.Enum<World.Location>
-
- org.rspeer.game.adapter.component.World.Location
-
- All Implemented Interfaces:
Serializable
,Comparable<World.Location>
- Enclosing class:
- World
public static enum World.Location extends Enum<World.Location>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static World.Location
valueOf(String name)
Returns the enum constant of this type with the specified name.static World.Location[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
US
public static final World.Location US
-
UK
public static final World.Location UK
-
DE
public static final World.Location DE
-
AU
public static final World.Location AU
-
-
Method Detail
-
values
public static World.Location[] 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 (World.Location c : World.Location.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static World.Location 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 nameNullPointerException
- if the argument is null
-
-