public enum EWareSize extends Enum<EWareSize>
| Modifier and Type | Field and Description |
|---|---|
private short |
size |
| Modifier and Type | Method and Description |
|---|---|
short |
getRealMasurement()
Retrieve the measurement converted to the smallest measurement
|
static EWareSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EWareSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EWareSize BARREL
public static final EWareSize CARGO
public static EWareSize[] values()
for (EWareSize c : EWareSize.values()) System.out.println(c);
public static EWareSize 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 short getRealMasurement()
Copyright © 2011-2017 Sahits GmbH. All Rights Reserved.