public static enum PhoneNumber.PhoneNumberType extends Enum<PhoneNumber.PhoneNumberType>
| Modifier and Type | Method and Description |
|---|---|
static PhoneNumber.PhoneNumberType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhoneNumber.PhoneNumberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhoneNumber.PhoneNumberType mobile
public static final PhoneNumber.PhoneNumberType home
public static final PhoneNumber.PhoneNumberType office
public static final PhoneNumber.PhoneNumberType fax
public static PhoneNumber.PhoneNumberType[] values()
for (PhoneNumber.PhoneNumberType c : PhoneNumber.PhoneNumberType.values()) System.out.println(c);
public static PhoneNumber.PhoneNumberType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 Dapi. All rights reserved.