public static enum InternalConstants.AddrTypes extends Enum<InternalConstants.AddrTypes> implements InternalConstants.ParseEnum
| Modifier and Type | Field and Description |
|---|---|
int |
code |
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static InternalConstants.AddrTypes |
parse(int code) |
static InternalConstants.AddrTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalConstants.AddrTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfparsepublic static final InternalConstants.AddrTypes IPv4
public static final InternalConstants.AddrTypes SVC
public static final InternalConstants.AddrTypes IPv6
public static InternalConstants.AddrTypes[] values()
for (InternalConstants.AddrTypes c : InternalConstants.AddrTypes.values()) System.out.println(c);
public static InternalConstants.AddrTypes 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 nullpublic static InternalConstants.AddrTypes parse(int code)
public int code()
code in interface InternalConstants.ParseEnumCopyright © 2024. All rights reserved.