public enum SecureType extends Enum<SecureType>
| 枚举常量和说明 |
|---|
ACCOUNT_NO |
ADDRESS |
EMAIL |
ENCRYPT |
ID |
NAME |
PUBLIC_ACCOUNT |
TEL |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getValue() |
String |
toString() |
static SecureType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static SecureType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final SecureType ENCRYPT
public static final SecureType TEL
public static final SecureType NAME
public static final SecureType EMAIL
public static final SecureType ADDRESS
public static final SecureType ACCOUNT_NO
public static final SecureType ID
public static final SecureType PUBLIC_ACCOUNT
public static SecureType[] values()
for (SecureType c : SecureType.values()) System.out.println(c);
public static SecureType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
public String toString()
toString 在类中 Enum<SecureType>Copyright © 2023. All rights reserved.