public enum ISP extends Enum<ISP>
| Enum Constant and Description |
|---|
CHINA_MOBILE |
CHINA_MOBILE_VIRTUAL |
CHINA_TELECOM |
CHINA_TELECOM_VIRTUAL |
CHINA_UNICOM |
CHINA_UNICOM_VIRTUAL |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static Optional<ISP> |
of(int value) |
static ISP |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ISP[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ISP CHINA_MOBILE
public static final ISP CHINA_UNICOM
public static final ISP CHINA_TELECOM
public static final ISP CHINA_TELECOM_VIRTUAL
public static final ISP CHINA_UNICOM_VIRTUAL
public static final ISP CHINA_MOBILE_VIRTUAL
public static final ISP UNKNOWN
public static ISP[] values()
for (ISP c : ISP.values()) System.out.println(c);
public static ISP 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 © 2023. All rights reserved.