| 枚举常量和说明 |
|---|
BLACK_LIST |
NO_ACL |
WHITE_LIST |
| 限定符和类型 | 方法和说明 |
|---|---|
java.math.BigInteger |
getValue() |
java.lang.String |
toString() |
static AuthType |
valueOf(int i) |
static AuthType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static AuthType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AuthType NO_ACL
public static final AuthType WHITE_LIST
public static final AuthType BLACK_LIST
public static AuthType[] values()
for (AuthType c : AuthType.values()) System.out.println(c);
public static AuthType valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public static AuthType valueOf(int i) throws ContractException
public final java.math.BigInteger getValue()
public java.lang.String toString()
toString 在类中 java.lang.Enum<AuthType>