public static enum InetAddressUtils.AddressType extends Enum<InetAddressUtils.AddressType>
Modifier and Type | Method and Description |
---|---|
static InetAddressUtils.AddressType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InetAddressUtils.AddressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InetAddressUtils.AddressType IPv4
public static final InetAddressUtils.AddressType IPv6
public static InetAddressUtils.AddressType[] values()
for (InetAddressUtils.AddressType c : InetAddressUtils.AddressType.values()) System.out.println(c);
public static InetAddressUtils.AddressType 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 © 2018. All rights reserved.