public enum NetTypeEnum extends Enum<NetTypeEnum>
| Enum Constant and Description |
|---|
INTERNAL_IP
Internal ip
|
PUBLIC_IP
Public ip
|
TRIPLE
Three-way.
|
TRIPLE_CM
China Mobile.
|
TRIPLE_CT
China Telecom.
|
TRIPLE_UN
China Unicom.
|
UNKNOWN
Unknown.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static NetTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetTypeEnum INTERNAL_IP
public static final NetTypeEnum PUBLIC_IP
public static final NetTypeEnum TRIPLE
public static final NetTypeEnum TRIPLE_CT
public static final NetTypeEnum TRIPLE_UN
public static final NetTypeEnum TRIPLE_CM
public static final NetTypeEnum UNKNOWN
public static NetTypeEnum[] values()
for (NetTypeEnum c : NetTypeEnum.values()) System.out.println(c);
public static NetTypeEnum 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()
Copyright © 2025. All rights reserved.