public enum MeasureUnit extends Enum<MeasureUnit> implements Key
Enum Constant and Description |
---|
ACRE
Core unit identifier for acre.
|
BIT
Core unit identifier for bit.
|
BYTE
Core unit identifier for byte.
|
CELSIUS
Core unit identifier for celsius.
|
CENTIMETER
Core unit identifier for centimeter.
|
DAY
Core unit identifier for day.
|
DEGREE
Core unit identifier for degree.
|
FAHRENHEIT
Core unit identifier for fahrenheit.
|
FLUID_OUNCE
Core unit identifier for fluid-ounce.
|
FOOT
Core unit identifier for foot.
|
GALLON
Core unit identifier for gallon.
|
GIGABIT
Core unit identifier for gigabit.
|
GIGABYTE
Core unit identifier for gigabyte.
|
GRAM
Core unit identifier for gram.
|
HECTARE
Core unit identifier for hectare.
|
HOUR
Core unit identifier for hour.
|
INCH
Core unit identifier for inch.
|
KILOBIT
Core unit identifier for kilobit.
|
KILOBYTE
Core unit identifier for kilobyte.
|
KILOGRAM
Core unit identifier for kilogram.
|
KILOMETER
Core unit identifier for kilometer.
|
LITER
Core unit identifier for liter.
|
MEGABIT
Core unit identifier for megabit.
|
MEGABYTE
Core unit identifier for megabyte.
|
METER
Core unit identifier for meter.
|
MILE
Core unit identifier for mile.
|
MILE_SCANDINAVIAN
Core unit identifier for mile-scandinavian.
|
MILLILITER
Core unit identifier for milliliter.
|
MILLIMETER
Core unit identifier for millimeter.
|
MILLISECOND
Core unit identifier for millisecond.
|
MINUTE
Core unit identifier for minute.
|
MONTH
Core unit identifier for month.
|
OUNCE
Core unit identifier for ounce.
|
PERCENT
Core unit identifier for percent.
|
PETABYTE
Core unit identifier for petabyte.
|
POUND
Core unit identifier for pound.
|
SECOND
Core unit identifier for second.
|
STONE
Core unit identifier for stone.
|
TERABIT
Core unit identifier for terabit.
|
TERABYTE
Core unit identifier for terabyte.
|
WEEK
Core unit identifier for week.
|
YARD
Core unit identifier for yard.
|
YEAR
Core unit identifier for year.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static MeasureUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MeasureUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final MeasureUnit ACRE
public static final MeasureUnit BIT
public static final MeasureUnit BYTE
public static final MeasureUnit CELSIUS
public static final MeasureUnit CENTIMETER
public static final MeasureUnit DAY
public static final MeasureUnit DEGREE
public static final MeasureUnit FAHRENHEIT
public static final MeasureUnit FLUID_OUNCE
public static final MeasureUnit FOOT
public static final MeasureUnit GALLON
public static final MeasureUnit GIGABIT
public static final MeasureUnit GIGABYTE
public static final MeasureUnit GRAM
public static final MeasureUnit HECTARE
public static final MeasureUnit HOUR
public static final MeasureUnit INCH
public static final MeasureUnit KILOBIT
public static final MeasureUnit KILOBYTE
public static final MeasureUnit KILOGRAM
public static final MeasureUnit KILOMETER
public static final MeasureUnit LITER
public static final MeasureUnit MEGABIT
public static final MeasureUnit MEGABYTE
public static final MeasureUnit METER
public static final MeasureUnit MILE
public static final MeasureUnit MILE_SCANDINAVIAN
public static final MeasureUnit MILLILITER
public static final MeasureUnit MILLIMETER
public static final MeasureUnit MILLISECOND
public static final MeasureUnit MINUTE
public static final MeasureUnit MONTH
public static final MeasureUnit OUNCE
public static final MeasureUnit PERCENT
public static final MeasureUnit PETABYTE
public static final MeasureUnit POUND
public static final MeasureUnit SECOND
public static final MeasureUnit STONE
public static final MeasureUnit TERABIT
public static final MeasureUnit TERABYTE
public static final MeasureUnit WEEK
public static final MeasureUnit YARD
public static final MeasureUnit YEAR
public static MeasureUnit[] values()
for (MeasureUnit c : MeasureUnit.values()) System.out.println(c);
public static MeasureUnit 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 null