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