public static enum PhoneNumberUtil.MatchType extends java.lang.Enum<PhoneNumberUtil.MatchType>
Enum Constant | Description |
---|---|
EXACT_MATCH |
|
NO_MATCH |
|
NOT_A_NUMBER |
|
NSN_MATCH |
|
SHORT_NSN_MATCH |
Modifier and Type | Method | Description |
---|---|---|
static PhoneNumberUtil.MatchType |
valueOf(java.lang.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(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 nullCopyright © 2019 Google. All Rights Reserved.