public enum MobleNumberType extends Enum<MobleNumberType>
Enum Constant and Description |
---|
CHINA_MOBILE
中国移动运营商号码段
|
CHINA_TELECOM
中国电信运营商号码段
|
CHINA_UNICOM
中国联通运营商号码段
|
Modifier and Type | Method and Description |
---|---|
ArrayList<String> |
getRegex()
用于返回运营商号码段
|
static MobleNumberType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MobleNumberType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MobleNumberType CHINA_TELECOM
public static final MobleNumberType CHINA_MOBILE
public static final MobleNumberType CHINA_UNICOM
public static MobleNumberType[] values()
for (MobleNumberType c : MobleNumberType.values()) System.out.println(c);
public static MobleNumberType 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 © 2024. All rights reserved.