public enum EnumEntitySize extends Enum<EnumEntitySize>
Enum Constant and Description |
---|
SIZE_1 |
SIZE_2 |
SIZE_3 |
SIZE_4 |
SIZE_5 |
SIZE_6 |
Modifier and Type | Method and Description |
---|---|
int |
multiplyBy32AndRound(double par1) |
static EnumEntitySize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumEntitySize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumEntitySize SIZE_1
public static final EnumEntitySize SIZE_2
public static final EnumEntitySize SIZE_3
public static final EnumEntitySize SIZE_4
public static final EnumEntitySize SIZE_5
public static final EnumEntitySize SIZE_6
public static EnumEntitySize[] values()
for (EnumEntitySize c : EnumEntitySize.values()) System.out.println(c);
public static EnumEntitySize valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int multiplyBy32AndRound(double par1)