public static enum SocketInputOutput.Domain extends java.lang.Enum<SocketInputOutput.Domain>
Modifier and Type | Method and Description |
---|---|
static SocketInputOutput.Domain |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SocketInputOutput.Domain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketInputOutput.Domain AF_INET
public static final SocketInputOutput.Domain AF_INET6
public static final SocketInputOutput.Domain AF_UNIX
public static SocketInputOutput.Domain[] values()
for (SocketInputOutput.Domain c : SocketInputOutput.Domain.values()) System.out.println(c);
public static SocketInputOutput.Domain valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null