Package cdm.base.math
Enum CapacityUnitEnum
- All Implemented Interfaces:
Serializable,Comparable<CapacityUnitEnum>
Provides enumerated values for capacity units, generally used in the context of defining quantities for commodities.
- Version:
- 5.30.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDenotes Allowances as standard unit.Denotes a Barrel as a standard unit.Denotes Billion Cubic Feet as a standard unit.Denotes Board Feet as a standard unit.Denotes Cubic Meters as a standard unit.Denotes Certified Emissions Reduction as a standard unit.Denotes Climate Reserve Tonnes as a standard unit.Denotes 10 grams as a standard unit used in precious metals contracts (e.g MCX).Denotes a single day as a standard unit used in time charter trades.Denotes Dry Metric Ton (Tonne) Units - Consists of a metric ton of mass excluding moisture.Denotes Environmental Credit as a standard unit.Denotes Environmental Offset as a standard unit.Denotes a 40 ft.Denotes a Gram as a standard unit.Denotes a GB Bushel as a standard unit.Denotes a GB British Thermal Unit as a standard unit.Denotes a GB Hundredweight unit as standard unit.Denotes a GB Gallon unit as standard unit.Denotes a Thousand GB British Thermal Units as a standard unit.Denotes a Million GB British Thermal Units as a standard unit.Denotes a GB Ton as a standard unit.Denotes a GB Thermal Unit as a standard unit.Denotes a Gigajoule as a standard unit.Denotes a Gigawatt as a standard unit.Denotes a Gigawatt-hour as a standard unit.Denotes a Hectolitre as a standard unit.Denotes a 100-troy ounces Gold Bar as a standard unit.Denotes an ISO British Thermal Unit as a standard unit.Denotes a Thousand ISO British Thermal Unit as a standard unit.Denotes a Million ISO British Thermal Unit as a standard unit.Denotes an ISO Thermal Unit as a standard unit.Denotes a Joule as a standard unit.Denotes a Kilogram as a standard unit.Denotes a Kilolitre as a standard unit.Denotes a Kilowatt as a standard unit.Denotes a Kilowatt-day as a standard unit.Denotes a Kilowatt-hour as a standard unit.Denotes a Kilowatt-month as a standard unit.Denotes a Kilowatt-minute as a standard unit.Denotes a Kilowatt-year as a standard unit.Denotes a Litre as a standard unit.Denotes a Pound as a standard unit.Denotes a Thousand Barrels as a standard unit.Denotes a Thousand board feet, which are used in contracts on forestry underlyers as a standard unit.Denotes a Megajoule as a standard unit.Denotes a Million Barrels as a standard unit.Denotes a Million board feet, which are used in contracts on forestry underlyers as a standard unit.Denotes a Thousand square feet as a standard unit.Denotes a Metric Ton as a standard unit.Denotes a Megawatt as a standard unit.Denotes a Megawatt-day as a standard unit.Denotes a Megawatt-hour as a standard unit.Denotes a Megawatt-month as a standard unit.Denotes a Megawatt-minute as a standard unit.Denotes a Megawatt-year as a standard unit.Denotes a Troy Ounce as a standard unit.Denotes a Standard Gold Bar as a standard unit.Denotes a 20 ft.Denotes a US Bushel as a standard unit.Denotes a US British Thermal Unit as a standard unit.Denotes US Hundredweight unit as a standard unit.Denotes a US Gallon unit as a standard unit.Denotes a Thousand US British Thermal Units as a standard unit.Denotes a Million US British Thermal Units as a standard unit.Denotes a US Ton as a standard unit.Denotes a US Thermal Unit as a standard unit. -
Method Summary
Modifier and TypeMethodDescriptionstatic CapacityUnitEnumfromDisplayName(String name) toString()static CapacityUnitEnumReturns the enum constant of this type with the specified name.static CapacityUnitEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ALW
Denotes Allowances as standard unit. -
BBL
Denotes a Barrel as a standard unit. -
BCF
Denotes Billion Cubic Feet as a standard unit. -
BDFT
Denotes Board Feet as a standard unit. -
CBM
Denotes Cubic Meters as a standard unit. -
CER
Denotes Certified Emissions Reduction as a standard unit. -
CRT
Denotes Climate Reserve Tonnes as a standard unit. -
DAG
Denotes 10 grams as a standard unit used in precious metals contracts (e.g MCX). -
DAY
Denotes a single day as a standard unit used in time charter trades. -
DMTU
Denotes Dry Metric Ton (Tonne) Units - Consists of a metric ton of mass excluding moisture. -
ENVCRD
Denotes Environmental Credit as a standard unit. -
ENVOFST
Denotes Environmental Offset as a standard unit. -
FEU
Denotes a 40 ft. Equivalent Unit container as a standard unit. -
G
Denotes a Gram as a standard unit. -
GBBSH
Denotes a GB Bushel as a standard unit. -
GBBTU
Denotes a GB British Thermal Unit as a standard unit. -
GBCWT
Denotes a GB Hundredweight unit as standard unit. -
GBGAL
Denotes a GB Gallon unit as standard unit. -
GBMBTU
Denotes a Thousand GB British Thermal Units as a standard unit. -
GBMMBTU
Denotes a Million GB British Thermal Units as a standard unit. -
GBT
Denotes a GB Ton as a standard unit. -
GBTHM
Denotes a GB Thermal Unit as a standard unit. -
GJ
Denotes a Gigajoule as a standard unit. -
GW
Denotes a Gigawatt as a standard unit. -
GWH
Denotes a Gigawatt-hour as a standard unit. -
HL
Denotes a Hectolitre as a standard unit. -
HOGB
Denotes a 100-troy ounces Gold Bar as a standard unit. -
ISOBTU
Denotes an ISO British Thermal Unit as a standard unit. -
ISOMBTU
Denotes a Thousand ISO British Thermal Unit as a standard unit. -
ISOMMBTU
Denotes a Million ISO British Thermal Unit as a standard unit. -
J
Denotes a Joule as a standard unit. -
ISOTHM
Denotes an ISO Thermal Unit as a standard unit. -
KG
Denotes a Kilogram as a standard unit. -
KL
Denotes a Kilolitre as a standard unit. -
KW
Denotes a Kilowatt as a standard unit. -
KWD
Denotes a Kilowatt-day as a standard unit. -
KWH
Denotes a Kilowatt-hour as a standard unit. -
KWM
Denotes a Kilowatt-month as a standard unit. -
KWMIN
Denotes a Kilowatt-minute as a standard unit. -
KWY
Denotes a Kilowatt-year as a standard unit. -
L
Denotes a Litre as a standard unit. -
LB
Denotes a Pound as a standard unit. -
MB
Denotes a Thousand Barrels as a standard unit. -
MBF
Denotes a Thousand board feet, which are used in contracts on forestry underlyers as a standard unit. -
MJ
Denotes a Megajoule as a standard unit. -
MMBF
Denotes a Million board feet, which are used in contracts on forestry underlyers as a standard unit. -
MMBBL
Denotes a Million Barrels as a standard unit. -
MSF
Denotes a Thousand square feet as a standard unit. -
MT
Denotes a Metric Ton as a standard unit. -
MW
Denotes a Megawatt as a standard unit. -
MWD
Denotes a Megawatt-day as a standard unit. -
MWH
Denotes a Megawatt-hour as a standard unit. -
MWM
Denotes a Megawatt-month as a standard unit. -
MWMIN
Denotes a Megawatt-minute as a standard unit. -
MWY
Denotes a Megawatt-year as a standard unit. -
OZT
Denotes a Troy Ounce as a standard unit. -
SGB
Denotes a Standard Gold Bar as a standard unit. -
TEU
Denotes a 20 ft. Equivalent Unit container as a standard unit. -
USBSH
Denotes a US Bushel as a standard unit. -
USBTU
Denotes a US British Thermal Unit as a standard unit. -
USCWT
Denotes US Hundredweight unit as a standard unit. -
USGAL
Denotes a US Gallon unit as a standard unit. -
USMBTU
Denotes a Thousand US British Thermal Units as a standard unit. -
USMMBTU
Denotes a Million US British Thermal Units as a standard unit. -
UST
Denotes a US Ton as a standard unit. -
USTHM
Denotes a US Thermal Unit as a standard unit.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromDisplayName
-
toString
- Overrides:
toStringin classEnum<CapacityUnitEnum>
-
toDisplayString
-