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