java.io.Serializable
, java.lang.Comparable<PhoneNumber.Format>
public static enum PhoneNumber.Format extends java.lang.Enum<PhoneNumber.Format>
Enum Constant | Description |
---|---|
BLANK_AND_DASH |
Modifier and Type | Method | Description |
---|---|---|
static PhoneNumber.Format |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PhoneNumber.Format[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhoneNumber.Format BLANK_AND_DASH
public static PhoneNumber.Format[] values()
for (PhoneNumber.Format c : PhoneNumber.Format.values()) System.out.println(c);
public static PhoneNumber.Format 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 null