Package jnr.constants.platform.fake
Enum ErrnoAddressInfo
- All Implemented Interfaces:
Serializable
,Comparable<ErrnoAddressInfo>
,java.lang.constant.Constable
,Constant
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
defined()
final int
intValue()
final long
final int
value()
static ErrnoAddressInfo
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.
-
Enum Constant Details
-
EAI_ADDRFAMILY
-
EAI_AGAIN
-
EAI_BADFLAGS
-
EAI_FAIL
-
EAI_FAMILY
-
EAI_MEMORY
-
EAI_NODATA
-
EAI_NONAME
-
EAI_OVERFLOW
-
EAI_SERVICE
-
EAI_SOCKTYPE
-
EAI_SYSTEM
-
EAI_BADHINTS
-
EAI_PROTOCOL
-
EAI_MAX
-
-
Field Details
-
value
private final long value -
MIN_VALUE
public static final long MIN_VALUE- See Also:
-
MAX_VALUE
public static final long MAX_VALUE- See Also:
-
-
Constructor Details
-
ErrnoAddressInfo
private ErrnoAddressInfo(long value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public final int value() -
intValue
public final int intValue() -
longValue
public final long longValue() -
defined
public final boolean defined()
-