public enum AddressFamily extends Enum<AddressFamily> implements Constant
Enum Constant and Description |
---|
AF_APPLETALK |
AF_CCITT |
AF_CHAOS |
AF_DATAKIT |
AF_DECnet |
AF_DLI |
AF_ECMA |
AF_HYLINK |
AF_IMPLINK |
AF_INET |
AF_INET6 |
AF_IPX |
AF_LAT |
AF_LINK |
AF_LOCAL |
AF_MAX |
AF_NS |
AF_OSI |
AF_PUP |
AF_ROUTE |
AF_SNA |
AF_UNIX |
AF_UNSPEC |
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 AddressFamily |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddressFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddressFamily AF_UNSPEC
public static final AddressFamily AF_LOCAL
public static final AddressFamily AF_UNIX
public static final AddressFamily AF_INET
public static final AddressFamily AF_IMPLINK
public static final AddressFamily AF_PUP
public static final AddressFamily AF_CHAOS
public static final AddressFamily AF_NS
public static final AddressFamily AF_OSI
public static final AddressFamily AF_ECMA
public static final AddressFamily AF_DATAKIT
public static final AddressFamily AF_CCITT
public static final AddressFamily AF_SNA
public static final AddressFamily AF_DECnet
public static final AddressFamily AF_DLI
public static final AddressFamily AF_LAT
public static final AddressFamily AF_HYLINK
public static final AddressFamily AF_APPLETALK
public static final AddressFamily AF_ROUTE
public static final AddressFamily AF_LINK
public static final AddressFamily AF_IPX
public static final AddressFamily AF_INET6
public static final AddressFamily AF_MAX
public static final long MIN_VALUE
public static final long MAX_VALUE
public static AddressFamily[] values()
for (AddressFamily c : AddressFamily.values()) System.out.println(c);
public static AddressFamily 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.