public enum DNSOperationCode extends java.lang.Enum<DNSOperationCode>
| 枚举常量和说明 |
|---|
IQuery
IQuery (Inverse Query, Obsolete) [RFC3425]
|
Notify
Notify [RFC1996]
|
Query
Query [RFC1035]
|
Status
Status [RFC1035]
|
Unassigned
Unassigned
|
Update
Update [RFC2136]
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
externalName()
Return the string representation of this type
|
int |
indexValue()
Return the numeric value of this type
|
static DNSOperationCode |
operationCodeForFlags(int flags) |
java.lang.String |
toString() |
static DNSOperationCode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static DNSOperationCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final DNSOperationCode Query
public static final DNSOperationCode IQuery
public static final DNSOperationCode Status
public static final DNSOperationCode Unassigned
public static final DNSOperationCode Notify
public static final DNSOperationCode Update
public static DNSOperationCode[] values()
for (DNSOperationCode c : DNSOperationCode.values()) System.out.println(c);
public static DNSOperationCode valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public java.lang.String externalName()
public int indexValue()
public static DNSOperationCode operationCodeForFlags(int flags)
flags - public java.lang.String toString()
toString 在类中 java.lang.Enum<DNSOperationCode>