Enum InterfaceInfo
- java.lang.Object
-
- java.lang.Enum<InterfaceInfo>
-
- jnr.constants.platform.linux.powerpc64.InterfaceInfo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InterfaceInfo>
,Constant
public enum InterfaceInfo extends java.lang.Enum<InterfaceInfo> implements Constant
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
InterfaceInfo.StringTable
-
Enum Constant Summary
Enum Constants Enum Constant Description IFF_ALLMULTI
IFF_AUTOMEDIA
IFF_BROADCAST
IFF_DEBUG
IFF_DYNAMIC
IFF_LOOPBACK
IFF_MASTER
IFF_MULTICAST
IFF_NOARP
IFF_NOTRAILERS
IFF_POINTOPOINT
IFF_PORTSEL
IFF_PROMISC
IFF_RUNNING
IFF_SLAVE
IFF_UP
-
Constructor Summary
Constructors Modifier Constructor Description private
InterfaceInfo(long value)
-
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_AUTOMEDIA
public static final InterfaceInfo IFF_AUTOMEDIA
-
IFF_BROADCAST
public static final InterfaceInfo IFF_BROADCAST
-
IFF_DEBUG
public static final InterfaceInfo IFF_DEBUG
-
IFF_DYNAMIC
public static final InterfaceInfo IFF_DYNAMIC
-
IFF_LOOPBACK
public static final InterfaceInfo IFF_LOOPBACK
-
IFF_MASTER
public static final InterfaceInfo IFF_MASTER
-
IFF_MULTICAST
public static final InterfaceInfo IFF_MULTICAST
-
IFF_NOARP
public static final InterfaceInfo IFF_NOARP
-
IFF_NOTRAILERS
public static final InterfaceInfo IFF_NOTRAILERS
-
IFF_POINTOPOINT
public static final InterfaceInfo IFF_POINTOPOINT
-
IFF_PORTSEL
public static final InterfaceInfo IFF_PORTSEL
-
IFF_PROMISC
public static final InterfaceInfo IFF_PROMISC
-
IFF_RUNNING
public static final InterfaceInfo IFF_RUNNING
-
IFF_SLAVE
public static final InterfaceInfo IFF_SLAVE
-
IFF_UP
public static final InterfaceInfo IFF_UP
-
-
Field Detail
-
value
private final long value
-
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()
-
-