public enum Platform extends Enum<Platform>
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getName() |
int |
getType() |
static Platform |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Platform[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Platform all
public static final Platform android
public static final Platform ios
public static final Platform wns
public static final Platform web
public static final Platform email
public static final Platform sms
public static Platform[] values()
for (Platform c : Platform.values()) System.out.println(c);
public static Platform valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getType()
public String getName()
Copyright © 2021. All Rights Reserved.