public enum HostTypeEnum extends Enum<HostTypeEnum>
Enum Constant and Description |
---|
IPV_FUTURE
IP V(future) host
|
IPV4
IP V4 host
|
IPV6
IP V6 host
|
REGULAR_NAME
Regular name host
|
Modifier and Type | Method and Description |
---|---|
static HostTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostTypeEnum IPV4
public static final HostTypeEnum IPV6
public static final HostTypeEnum IPV_FUTURE
public static final HostTypeEnum REGULAR_NAME
public static HostTypeEnum[] values()
for (HostTypeEnum c : HostTypeEnum.values()) System.out.println(c);
public static HostTypeEnum 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 © 2003–2020 The Apache Software Foundation. All rights reserved.