public enum AccountType extends Enum<AccountType>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AccountType.Adapter |
| 枚举常量和说明 |
|---|
ADVERTISER |
AGENCY |
BM |
DEVELOPER |
DSP |
EXTERNAL_SUPPLIER |
MEMBER |
TDC |
TONE |
UNKNOWN |
| 限定符和类型 | 方法和说明 |
|---|---|
static AccountType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static AccountType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AccountType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AccountType UNKNOWN
public static final AccountType ADVERTISER
public static final AccountType AGENCY
public static final AccountType DSP
public static final AccountType DEVELOPER
public static final AccountType MEMBER
public static final AccountType EXTERNAL_SUPPLIER
public static final AccountType TDC
public static final AccountType TONE
public static final AccountType BM
public static AccountType[] values()
for (AccountType c : AccountType.values()) System.out.println(c);
public static AccountType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
public String toString()
toString 在类中 Enum<AccountType>public static AccountType fromValue(String text)
Copyright © 2020. All rights reserved.