Enum InterfaceInfo
- java.lang.Object
-
- java.lang.Enum<InterfaceInfo>
-
- jnr.constants.platform.dragonflybsd.InterfaceInfo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InterfaceInfo>
,Constant
public enum InterfaceInfo extends java.lang.Enum<InterfaceInfo> implements Constant
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IFF_ALLMULTI
IFF_ALTPHYS
IFF_BROADCAST
IFF_CANTCHANGE
IFF_DEBUG
IFF_LINK0
IFF_LINK1
IFF_LINK2
IFF_LOOPBACK
IFF_MONITOR
IFF_MULTICAST
IFF_NOARP
IFF_OACTIVE
IFF_POINTOPOINT
IFF_PPROMISC
IFF_PROMISC
IFF_RUNNING
IFF_SIMPLEX
IFF_SMART
IFF_STATICARP
IFF_UP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
defined()
int
intValue()
long
longValue()
java.lang.String
toString()
int
value()
static InterfaceInfo
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InterfaceInfo[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IFF_ALLMULTI
public static final InterfaceInfo IFF_ALLMULTI
-
IFF_ALTPHYS
public static final InterfaceInfo IFF_ALTPHYS
-
IFF_BROADCAST
public static final InterfaceInfo IFF_BROADCAST
-
IFF_DEBUG
public static final InterfaceInfo IFF_DEBUG
-
IFF_LINK0
public static final InterfaceInfo IFF_LINK0
-
IFF_LINK1
public static final InterfaceInfo IFF_LINK1
-
IFF_LINK2
public static final InterfaceInfo IFF_LINK2
-
IFF_LOOPBACK
public static final InterfaceInfo IFF_LOOPBACK
-
IFF_MONITOR
public static final InterfaceInfo IFF_MONITOR
-
IFF_MULTICAST
public static final InterfaceInfo IFF_MULTICAST
-
IFF_NOARP
public static final InterfaceInfo IFF_NOARP
-
IFF_OACTIVE
public static final InterfaceInfo IFF_OACTIVE
-
IFF_POINTOPOINT
public static final InterfaceInfo IFF_POINTOPOINT
-
IFF_PPROMISC
public static final InterfaceInfo IFF_PPROMISC
-
IFF_PROMISC
public static final InterfaceInfo IFF_PROMISC
-
IFF_RUNNING
public static final InterfaceInfo IFF_RUNNING
-
IFF_SIMPLEX
public static final InterfaceInfo IFF_SIMPLEX
-
IFF_SMART
public static final InterfaceInfo IFF_SMART
-
IFF_STATICARP
public static final InterfaceInfo IFF_STATICARP
-
IFF_UP
public static final InterfaceInfo IFF_UP
-
IFF_CANTCHANGE
public static final InterfaceInfo IFF_CANTCHANGE
-
-
Field Detail
-
MIN_VALUE
public static final long MIN_VALUE
- See Also:
- Constant Field Values
-
MAX_VALUE
public static final long MAX_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static InterfaceInfo[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (InterfaceInfo c : InterfaceInfo.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterfaceInfo valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<InterfaceInfo>
-
value
public final int value()
-
-