Package com.mojang.realmsclient.client
Enum Ping.Region
- java.lang.Object
-
- java.lang.Enum<Ping.Region>
-
- com.mojang.realmsclient.client.Ping.Region
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Ping.Region>
- Enclosing class:
- Ping
static enum Ping.Region extends java.lang.Enum<Ping.Region>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AP_NORTHEAST_1
AP_SOUTHEAST_1
AP_SOUTHEAST_2
EU_WEST_1
SA_EAST_1
US_EAST_1
US_WEST_1
US_WEST_2
-
Constructor Summary
Constructors Modifier Constructor Description private
Region(java.lang.String p_i51602_3_, java.lang.String p_i51602_4_)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Ping.Region
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Ping.Region[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
US_EAST_1
public static final Ping.Region US_EAST_1
-
US_WEST_2
public static final Ping.Region US_WEST_2
-
US_WEST_1
public static final Ping.Region US_WEST_1
-
EU_WEST_1
public static final Ping.Region EU_WEST_1
-
AP_SOUTHEAST_1
public static final Ping.Region AP_SOUTHEAST_1
-
AP_SOUTHEAST_2
public static final Ping.Region AP_SOUTHEAST_2
-
AP_NORTHEAST_1
public static final Ping.Region AP_NORTHEAST_1
-
SA_EAST_1
public static final Ping.Region SA_EAST_1
-
-
Method Detail
-
values
public static Ping.Region[] 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 (Ping.Region c : Ping.Region.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Ping.Region 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
-
-