public enum ResourceRecordClass extends Enum<ResourceRecordClass>
| Enum Constant and Description |
|---|
ANY |
CH |
HS |
IN |
NONE |
PRIVATE |
RESERVED |
UNASSIGNED |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ResourceRecordClass |
fromString(String name) |
static ResourceRecordClass |
fromValue(int value) |
int |
getValue() |
static ResourceRecordClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceRecordClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceRecordClass RESERVED
public static final ResourceRecordClass IN
public static final ResourceRecordClass CH
public static final ResourceRecordClass HS
public static final ResourceRecordClass NONE
public static final ResourceRecordClass ANY
public static final ResourceRecordClass UNASSIGNED
public static final ResourceRecordClass PRIVATE
public static final ResourceRecordClass UNKNOWN
public static ResourceRecordClass[] values()
for (ResourceRecordClass c : ResourceRecordClass.values()) System.out.println(c);
public static ResourceRecordClass 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 int getValue()
public static ResourceRecordClass fromString(String name)
public static ResourceRecordClass fromValue(int value)
Copyright © 2020. All rights reserved.