Package com.kenai.constantine.platform
Enum Class NameInfo
- All Implemented Interfaces:
Constant
,Serializable
,Comparable<NameInfo>
,Constable
,Constant
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
defined()
Deprecated.final String
Deprecated.final int
intValue()
Deprecated.final long
Deprecated.final String
toString()
Deprecated.final int
value()
Deprecated.static final NameInfo
valueOf
(int value) Deprecated.Returns the enum constant of this class with the specified name.static NameInfo
Deprecated.Returns the enum constant of this class with the specified name.static NameInfo[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NI_MAXHOST
Deprecated. -
NI_MAXSERV
Deprecated. -
NI_NOFQDN
Deprecated. -
NI_NUMERICHOST
Deprecated. -
NI_NAMEREQD
Deprecated. -
NI_NUMERICSERV
Deprecated. -
NI_DGRAM
Deprecated. -
NI_WITHSCOPEID
Deprecated. -
__UNKNOWN_CONSTANT__
Deprecated.
-
-
Field Details
-
resolver
Deprecated.
-
-
Constructor Details
-
NameInfo
private NameInfo()Deprecated.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public final int value()Deprecated. -
intValue
public final int intValue()Deprecated. -
longValue
public final long longValue()Deprecated. -
description
Deprecated. -
defined
public final boolean defined()Deprecated. -
toString
Deprecated. -
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-