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