net.barkerjr.gameserver.valve
Enum ValveServerList.Region

java.lang.Object
  extended by java.lang.Enum<ValveServerList.Region>
      extended by net.barkerjr.gameserver.valve.ValveServerList.Region
All Implemented Interfaces:
Serializable, Comparable<ValveServerList.Region>
Enclosing class:
ValveServerList<T extends ValveServer>

public static enum ValveServerList.Region
extends Enum<ValveServerList.Region>

Regions defined by Valve

Since:
2008-02-03
Author:
BarkerJr

Enum Constant Summary
Africa
          Africa (0x7)
Asia
          Asia (0x4)
Australia
          Australia (0x5)
Earth
          Elsewhere (0xFF)
Europe
          Europe (0x3)
MiddleEast
          Middle East (0x6)
SouthAmerica
          South America (0x2)
UsEastCoast
          East Coast USA (0x0)
UsWestCoast
          West Coast USA (0x1)
 
Method Summary
static ValveServerList.Region valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ValveServerList.Region[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UsEastCoast

public static final ValveServerList.Region UsEastCoast
East Coast USA (0x0)

Since:
2008-02-03

UsWestCoast

public static final ValveServerList.Region UsWestCoast
West Coast USA (0x1)

Since:
2008-02-03

SouthAmerica

public static final ValveServerList.Region SouthAmerica
South America (0x2)

Since:
2008-02-03

Europe

public static final ValveServerList.Region Europe
Europe (0x3)

Since:
2008-02-03

Asia

public static final ValveServerList.Region Asia
Asia (0x4)

Since:
2008-02-03

Australia

public static final ValveServerList.Region Australia
Australia (0x5)

Since:
2008-02-03

MiddleEast

public static final ValveServerList.Region MiddleEast
Middle East (0x6)

Since:
2008-02-03

Africa

public static final ValveServerList.Region Africa
Africa (0x7)

Since:
2008-02-03

Earth

public static final ValveServerList.Region Earth
Elsewhere (0xFF)

Since:
2008-02-03
Method Detail

values

public static ValveServerList.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 (ValveServerList.Region c : ValveServerList.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 ValveServerList.Region 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 name
NullPointerException - if the argument is null