public enum ErrnoAddressInfo extends Enum<ErrnoAddressInfo> implements Constant
| Enum Constant and Description |
|---|
EAI_AGAIN |
EAI_BADFLAGS |
EAI_FAIL |
EAI_FAMILY |
EAI_MEMORY |
EAI_NODATA |
EAI_NONAME |
EAI_SERVICE |
EAI_SOCKTYPE |
| Modifier and Type | Field and Description |
|---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
defined() |
int |
intValue() |
long |
longValue() |
String |
toString() |
int |
value() |
static ErrnoAddressInfo |
valueOf(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_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_SERVICE
public static final ErrnoAddressInfo EAI_SOCKTYPE
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(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 final String toString()
toString in class Enum<ErrnoAddressInfo>public final int value()
Copyright © 2025. All rights reserved.