public enum AddressFamily extends Enum<AddressFamily> implements Constant
Enum Constant and Description |
---|
AF_APPLETALK |
AF_CCITT |
AF_CHAOS |
AF_CNT |
AF_COIP |
AF_DATAKIT |
AF_DECnet |
AF_DLI |
AF_E164 |
AF_ECMA |
AF_HYLINK |
AF_IMPLINK |
AF_INET |
AF_INET6 |
AF_IPX |
AF_ISDN |
AF_ISO |
AF_LAT |
AF_LINK |
AF_LOCAL |
AF_MAX |
AF_NATM |
AF_NS |
AF_OSI |
AF_PUP |
AF_ROUTE |
AF_SIP |
AF_SNA |
AF_UNIX |
AF_UNSPEC |
pseudo_AF_HDRCMPLT |
pseudo_AF_PIP |
pseudo_AF_RTIP |
pseudo_AF_XTP |
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() |
int |
value() |
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_ISO
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 pseudo_AF_XTP
public static final AddressFamily AF_COIP
public static final AddressFamily AF_CNT
public static final AddressFamily pseudo_AF_RTIP
public static final AddressFamily AF_IPX
public static final AddressFamily AF_SIP
public static final AddressFamily pseudo_AF_PIP
public static final AddressFamily AF_ISDN
public static final AddressFamily AF_E164
public static final AddressFamily AF_INET6
public static final AddressFamily AF_NATM
public static final AddressFamily pseudo_AF_HDRCMPLT
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 nullpublic final int value()
Copyright © 2017. All Rights Reserved.