public enum UnitSizeType extends java.lang.Enum<UnitSizeType>
Enum Constant and Description |
---|
Independent |
Large |
Medium |
None |
Small |
Unknown |
Modifier and Type | Method and Description |
---|---|
static UnitSizeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UnitSizeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static UnitSizeType |
withId(int id) |
public static final UnitSizeType Independent
public static final UnitSizeType Small
public static final UnitSizeType Medium
public static final UnitSizeType Large
public static final UnitSizeType None
public static final UnitSizeType Unknown
public static UnitSizeType[] values()
for (UnitSizeType c : UnitSizeType.values()) System.out.println(c);
public static UnitSizeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static UnitSizeType withId(int id)