public static enum PhoneNumberUtil.ValidationResult extends Enum<PhoneNumberUtil.ValidationResult>
Enum Constant and Description |
---|
INVALID_COUNTRY_CODE |
IS_POSSIBLE |
TOO_LONG |
TOO_SHORT |
Modifier and Type | Method and Description |
---|---|
static PhoneNumberUtil.ValidationResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhoneNumberUtil.ValidationResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhoneNumberUtil.ValidationResult IS_POSSIBLE
public static final PhoneNumberUtil.ValidationResult INVALID_COUNTRY_CODE
public static final PhoneNumberUtil.ValidationResult TOO_SHORT
public static final PhoneNumberUtil.ValidationResult TOO_LONG
public static PhoneNumberUtil.ValidationResult[] values()
for (PhoneNumberUtil.ValidationResult c : PhoneNumberUtil.ValidationResult.values()) System.out.println(c);
public static PhoneNumberUtil.ValidationResult 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 © 2016 Google. All Rights Reserved.