public enum UnitOfMeasure extends Enum<UnitOfMeasure> implements EnumValue
Enum Constant and Description |
---|
ALLOWANCES |
BARRELS |
BILLION_CUBIC_FEET |
BUSHELS |
GALLONS |
MEGAWATT_HOURS |
METRIC_TONS |
MILLION_BARRELS |
ONE_MILLION_BTU |
POUNDS |
TROY_OUNCES |
US_DOLLARS |
US_TONS |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(byte[] val) |
boolean |
equals(byte[] val,
int offset,
int length) |
byte[] |
getValue() |
static UnitOfMeasure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitOfMeasure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitOfMeasure BARRELS
public static final UnitOfMeasure BILLION_CUBIC_FEET
public static final UnitOfMeasure BUSHELS
public static final UnitOfMeasure POUNDS
public static final UnitOfMeasure GALLONS
public static final UnitOfMeasure MILLION_BARRELS
public static final UnitOfMeasure ONE_MILLION_BTU
public static final UnitOfMeasure MEGAWATT_HOURS
public static final UnitOfMeasure TROY_OUNCES
public static final UnitOfMeasure METRIC_TONS
public static final UnitOfMeasure US_TONS
public static final UnitOfMeasure US_DOLLARS
public static final UnitOfMeasure ALLOWANCES
public static UnitOfMeasure[] values()
for (UnitOfMeasure c : UnitOfMeasure.values()) System.out.println(c);
public static UnitOfMeasure 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 boolean equals(byte[] val, int offset, int length)
Copyright © 2000–2022 EPAM Systems. All rights reserved.