public enum AccountType extends Enum<AccountType>
| 枚举常量和说明 |
|---|
alipay |
baidu |
douban |
email |
facebook |
google |
jd |
linkin |
mobile |
others |
qq_openid |
taobao |
twitter |
unknown |
visitors |
weibo |
wx_openid |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName() |
int |
getType() |
static AccountType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AccountType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AccountType unknown
public static final AccountType mobile
public static final AccountType email
public static final AccountType wx_openid
public static final AccountType qq_openid
public static final AccountType weibo
public static final AccountType alipay
public static final AccountType taobao
public static final AccountType douban
public static final AccountType facebook
public static final AccountType twitter
public static final AccountType google
public static final AccountType baidu
public static final AccountType jd
public static final AccountType linkin
public static final AccountType others
public static final AccountType visitors
public static AccountType[] values()
for (AccountType c : AccountType.values()) System.out.println(c);
public static AccountType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getType()
public String getName()
Copyright © 2021. All Rights Reserved.