public static enum PhoneNumberUtil.MatchType extends Enum<PhoneNumberUtil.MatchType>
Enum Constant and Description |
---|
EXACT_MATCH |
NO_MATCH |
NOT_A_NUMBER |
NSN_MATCH |
SHORT_NSN_MATCH |
Modifier and Type | Method and Description |
---|---|
static PhoneNumberUtil.MatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PhoneNumberUtil.MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhoneNumberUtil.MatchType NOT_A_NUMBER
public static final PhoneNumberUtil.MatchType NO_MATCH
public static final PhoneNumberUtil.MatchType SHORT_NSN_MATCH
public static final PhoneNumberUtil.MatchType NSN_MATCH
public static final PhoneNumberUtil.MatchType EXACT_MATCH
public static PhoneNumberUtil.MatchType[] values()
for (PhoneNumberUtil.MatchType c : PhoneNumberUtil.MatchType.values()) System.out.println(c);
public static PhoneNumberUtil.MatchType 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.