public static enum Constant.Box.Attribute extends java.lang.Enum<Constant.Box.Attribute>
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
toString() |
static Constant.Box.Attribute |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Constant.Box.Attribute[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Constant.Box.Attribute BOX_SIZE
public static final Constant.Box.Attribute BOX_TYPE
public static final Constant.Box.Attribute BOX_MODEL
public static final Constant.Box.Attribute BOX_COLOR
public static final Constant.Box.Attribute BOX_WEIGHT
public static final Constant.Box.Attribute BOX_FLOOR
public static Constant.Box.Attribute[] values()
for (Constant.Box.Attribute c : Constant.Box.Attribute.values()) System.out.println(c);
public static Constant.Box.Attribute valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量,
则抛出 IllegalArgumentExceptionjava.lang.NullPointerException
- 如果参数为空值, 则抛出 NullPointerExceptionpublic java.lang.String toString()
toString
在类中 java.lang.Enum<Constant.Box.Attribute>