public enum CellularType extends java.lang.Enum<CellularType> implements java.io.Serializable
| Enum Constant and Description |
|---|
Alltel |
ATT |
Cingular |
Cricket |
MetroPCS |
Nextel |
Powertel |
Sprint |
SunCom |
TMobile |
USCellular |
Verizon |
VirginMobile |
| Modifier and Type | Method and Description |
|---|---|
static CellularType |
emailToCellularType(java.lang.String address) |
static java.lang.String |
emailToPhoneNumber(java.lang.String address) |
java.lang.String |
getCompany() |
java.lang.String |
getEmailRight() |
java.lang.String |
getName() |
static CellularType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CellularType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CellularType Alltel
public static final CellularType ATT
public static final CellularType Cingular
public static final CellularType MetroPCS
public static final CellularType Nextel
public static final CellularType Powertel
public static final CellularType Sprint
public static final CellularType SunCom
public static final CellularType TMobile
public static final CellularType USCellular
public static final CellularType Verizon
public static final CellularType VirginMobile
public static final CellularType Cricket
public static CellularType[] values()
for (CellularType c : CellularType.values()) System.out.println(c);
public static CellularType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
public java.lang.String getCompany()
public java.lang.String getEmailRight()
public static java.lang.String emailToPhoneNumber(java.lang.String address)
public static CellularType emailToCellularType(java.lang.String address)