@Deprecated public enum INAddr extends Enum<INAddr> implements Constant
Enum Constant and Description |
---|
__UNKNOWN_CONSTANT__
Deprecated.
|
INADDR_ALLHOSTS_GROUP
Deprecated.
|
INADDR_ALLRTRS_GROUP
Deprecated.
|
INADDR_ANY
Deprecated.
|
INADDR_BROADCAST
Deprecated.
|
INADDR_LOOPBACK
Deprecated.
|
INADDR_MAX_LOCAL_GROUP
Deprecated.
|
INADDR_NONE
Deprecated.
|
INADDR_UNSPEC_GROUP
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
defined()
Deprecated.
|
String |
description()
Deprecated.
|
int |
intValue()
Deprecated.
|
long |
longValue()
Deprecated.
|
String |
toString()
Deprecated.
|
int |
value()
Deprecated.
|
static INAddr |
valueOf(int value)
Deprecated.
|
static INAddr |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static INAddr[] |
values()
Deprecated.
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(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 nullpublic final int value()
public final String description()
public static final INAddr valueOf(int value)
Copyright © 2017. All Rights Reserved.