Enum Constant and Description |
---|
__UNKNOWN_CONSTANT__ |
INADDR_ALLHOSTS_GROUP |
INADDR_ALLRTRS_GROUP |
INADDR_ANY |
INADDR_BROADCAST |
INADDR_LOOPBACK |
INADDR_MAX_LOCAL_GROUP |
INADDR_NONE |
INADDR_UNSPEC_GROUP |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description() |
java.lang.String |
toString() |
int |
value() |
static INAddr |
valueOf(int value) |
static INAddr |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static INAddr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final INAddr INADDR_ANY
public static final INAddr INADDR_BROADCAST
public static final INAddr INADDR_NONE
public static final INAddr INADDR_LOOPBACK
public static final INAddr INADDR_UNSPEC_GROUP
public static final INAddr INADDR_ALLHOSTS_GROUP
public static final INAddr INADDR_ALLRTRS_GROUP
public static final INAddr INADDR_MAX_LOCAL_GROUP
public static final INAddr __UNKNOWN_CONSTANT__
public static INAddr[] values()
for (INAddr c : INAddr.values()) System.out.println(c);
public static INAddr valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final java.lang.String description()
public final java.lang.String toString()
toString
in class java.lang.Enum<INAddr>
public static final INAddr valueOf(int value)