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