public enum DomainType extends Enum<DomainType>
| Modifier and Type | Method and Description |
|---|---|
static DomainType |
valueOf(String name)
以指定的名称返回此类型的枚举常量。
|
static DomainType[] |
values()
按照它们声明的顺序返回一个包含此枚举类型常量的数组。
|
public static final DomainType UNKNOWN
public static final DomainType ICANN
public static final DomainType PRIVATE
public static DomainType[] values()
for (DomainType c : DomainType.values())
System.out.println(c);
public static DomainType valueOf(String name)
name - 要返回的枚举常量的名称。
IllegalArgumentException - 如果此枚举类型没有指定名称的常量
NullPointerException - 如果参数为空
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.