public enum INAddr extends Enum<INAddr> implements Constant
Enum Constant and Description |
---|
INADDR_ALLHOSTS_GROUP |
INADDR_ALLRTRS_GROUP |
INADDR_ANY |
INADDR_BROADCAST |
INADDR_LOOPBACK |
INADDR_MAX_LOCAL_GROUP |
INADDR_NONE |
INADDR_UNSPEC_GROUP |
Modifier and Type | Field and Description |
---|---|
static long |
MAX_VALUE |
static long |
MIN_VALUE |
Modifier and Type | Method and Description |
---|---|
boolean |
defined() |
int |
intValue() |
long |
longValue() |
static INAddr |
valueOf(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 long MIN_VALUE
public static final long MAX_VALUE
public static INAddr[] values()
for (INAddr c : INAddr.values()) System.out.println(c);
public static INAddr valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All Rights Reserved.