public enum ServiceProviderEnum extends Enum<ServiceProviderEnum>
| Enum Constant and Description |
|---|
BGP |
CHINA_MOBILE |
CHINA_TELECOM |
CHINA_UNICOM |
INTRA |
TRIPLE_LINE |
| Modifier and Type | Method and Description |
|---|---|
String |
getAbbr() |
String |
getName() |
String |
getValue() |
static ServiceProviderEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceProviderEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceProviderEnum BGP
public static final ServiceProviderEnum CHINA_MOBILE
public static final ServiceProviderEnum CHINA_UNICOM
public static final ServiceProviderEnum CHINA_TELECOM
public static final ServiceProviderEnum TRIPLE_LINE
public static final ServiceProviderEnum INTRA
public static final String ABBR_IX
public static ServiceProviderEnum[] values()
for (ServiceProviderEnum c : ServiceProviderEnum.values()) System.out.println(c);
public static ServiceProviderEnum 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 nullpublic String getValue()
public String getName()
public String getAbbr()
Copyright © 2025. All rights reserved.