public enum IPCountry extends Enum<IPCountry>
| Modifier and Type | Class and Description |
|---|---|
static class |
IPCountry.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static IPCountry |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement) |
static IPCountry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IPCountry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IPCountry DOMESTIC
public static final IPCountry FOREIGN
public static final IPCountry UNKNOWN
public static IPCountry[] values()
for (IPCountry c : IPCountry.values()) System.out.println(c);
public static IPCountry 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 static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws IOException
IOExceptionCopyright © 2024. All rights reserved.