public enum WhatType extends Enum<WhatType>
| 枚举常量和说明 |
|---|
BOOL_TYPE |
DATE_TYPE |
OBJECT_TYPE |
STRING_TYPE |
VALUE_TYPE |
public static final WhatType STRING_TYPE
public static final WhatType VALUE_TYPE
public static final WhatType BOOL_TYPE
public static final WhatType DATE_TYPE
public static final WhatType OBJECT_TYPE
public static WhatType[] values()
for (WhatType c : WhatType.values()) System.out.println(c);
public static WhatType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2024. All rights reserved.