public static enum AbstractDNSClient.IpVersionSetting extends java.lang.Enum<AbstractDNSClient.IpVersionSetting>
| Modifier and Type | Method and Description |
|---|---|
static AbstractDNSClient.IpVersionSetting |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AbstractDNSClient.IpVersionSetting[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractDNSClient.IpVersionSetting v4only
public static final AbstractDNSClient.IpVersionSetting v6only
public static final AbstractDNSClient.IpVersionSetting v4v6
public static final AbstractDNSClient.IpVersionSetting v6v4
public static AbstractDNSClient.IpVersionSetting[] values()
for (AbstractDNSClient.IpVersionSetting c : AbstractDNSClient.IpVersionSetting.values()) System.out.println(c);
public static AbstractDNSClient.IpVersionSetting 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