public enum AddressFamily extends Enum<AddressFamily> implements Constant
Modifier and Type | Method and Description |
---|---|
boolean |
defined() |
String |
description() |
int |
intValue() |
long |
longValue() |
String |
toString() |
static AddressFamily |
valueOf(long 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_NDRV
public static final AddressFamily AF_ISDN
public static final AddressFamily AF_E164
public static final AddressFamily pseudo_AF_KEY
public static final AddressFamily AF_INET6
public static final AddressFamily AF_NATM
public static final AddressFamily AF_SYSTEM
public static final AddressFamily AF_NETBIOS
public static final AddressFamily AF_PPP
public static final AddressFamily AF_ATM
public static final AddressFamily pseudo_AF_HDRCMPLT
public static final AddressFamily AF_NETGRAPH
public static final AddressFamily AF_AX25
public static final AddressFamily AF_MAX
public static final AddressFamily __UNKNOWN_CONSTANT__
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 String description()
public final String toString()
toString
in class Enum<AddressFamily>
public static AddressFamily valueOf(long value)
Copyright © 2017. All Rights Reserved.