public enum InventoryFormat extends Enum<InventoryFormat>
| 枚举常量和说明 |
|---|
CSV |
public static final InventoryFormat CSV
public static InventoryFormat[] values()
for (InventoryFormat c : InventoryFormat.values()) System.out.println(c);
public static InventoryFormat valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String toString()
toString 在类中 Enum<InventoryFormat>Copyright © 2020. All Rights Reserved.