Enum Constant and Description |
---|
Assistant
Assistant.
|
Fax
Fax
|
Home
Home
|
IPPhone
IP Phone
|
Mobile
Mobile.
|
Other
Other.
|
Phone
Phone
|
Undefined
Unknown type
|
Modifier and Type | Method and Description |
---|---|
static PhoneType |
fromInt(int i) |
static PhoneType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PhoneType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhoneType Assistant
public static final PhoneType Mobile
public static final PhoneType Other
public static final PhoneType Phone
public static final PhoneType Home
public static final PhoneType Fax
public static final PhoneType IPPhone
public static final PhoneType Undefined
public static PhoneType[] values()
for (PhoneType c : PhoneType.values()) System.out.println(c);
public static PhoneType 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 static PhoneType fromInt(int i)