public enum ErrnoAddressInfo extends java.lang.Enum<ErrnoAddressInfo> implements Constant
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
ErrnoAddressInfo.StringTable |
| Enum Constant and Description |
|---|
EAI_ADDRFAMILY |
EAI_AGAIN |
EAI_BADFLAGS |
EAI_FAIL |
EAI_FAMILY |
EAI_MEMORY |
EAI_NODATA |
EAI_NONAME |
EAI_OVERFLOW |
EAI_SERVICE |
EAI_SOCKTYPE |
EAI_SYSTEM |
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
private long |
value |
| Modifier and Type | Method and Description |
|---|---|
boolean |
defined() |
int |
intValue() |
long |
longValue() |
java.lang.String |
toString() |
int |
value() |
static ErrnoAddressInfo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrnoAddressInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrnoAddressInfo EAI_ADDRFAMILY
public static final ErrnoAddressInfo EAI_AGAIN
public static final ErrnoAddressInfo EAI_BADFLAGS
public static final ErrnoAddressInfo EAI_FAIL
public static final ErrnoAddressInfo EAI_FAMILY
public static final ErrnoAddressInfo EAI_MEMORY
public static final ErrnoAddressInfo EAI_NODATA
public static final ErrnoAddressInfo EAI_NONAME
public static final ErrnoAddressInfo EAI_OVERFLOW
public static final ErrnoAddressInfo EAI_SERVICE
public static final ErrnoAddressInfo EAI_SOCKTYPE
public static final ErrnoAddressInfo EAI_SYSTEM
private final long value
public static final long MIN_VALUE
public static final long MAX_VALUE
public static ErrnoAddressInfo[] values()
for (ErrnoAddressInfo c : ErrnoAddressInfo.values()) System.out.println(c);
public static ErrnoAddressInfo valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final java.lang.String toString()
toString in class java.lang.Enum<ErrnoAddressInfo>public final int value()