Package jnr.constants.platform
Enum Multicast
- All Implemented Interfaces:
Serializable
,Comparable<Multicast>
,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 Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
defined()
final String
final int
intValue()
final long
final String
toString()
final int
value()
static Multicast
valueOf
(long value) Returns the enum constant of this type with the specified name.static Multicast
Returns the enum constant of this type with the specified name.static Multicast[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MCAST_JOIN_GROUP
-
MCAST_BLOCK_SOURCE
-
MCAST_UNBLOCK_SOURCE
-
MCAST_LEAVE_GROUP
-
MCAST_JOIN_SOURCE_GROUP
-
MCAST_LEAVE_SOURCE_GROUP
-
MCAST_MSFILTER
-
MCAST_EXCLUDE
-
MCAST_INCLUDE
-
__UNKNOWN_CONSTANT__
-
-
Field Details
-
resolver
-
-
Constructor Details
-
Multicast
private Multicast()
-
-
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() -
description
-
defined
public final boolean defined() -
toString
-
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:
value
- 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
-