Package org.djunits.unit
Class MassUnit
- All Implemented Interfaces:
Serializable,Cloneable
public class MassUnit extends Unit<MassUnit>
Standard mass units. Several conversion factors have been taken from
http://en.wikipedia.org/wiki/Conversion_of_units.
Copyright (c) 2015-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
- Author:
- Alexander Verbraeck
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class org.djunits.unit.Unit
Unit.Builder<U extends Unit<U>> -
Field Summary
Fields Modifier and Type Field Description static Quantity<MassUnit>BASEThe base, with "kg" as the SI signature.static MassUnitDALTONdalton.static MassUnitELECTRONVOLTelectronvolt = 1.782661907E-36 kg.static MassUnitGIGAELECTRONVOLTgigaelectronvolt.static MassUnitGRAMgram.static MassUnitKILOELECTRONVOLTkiloelectronvolt.static MassUnitKILOGRAMkilogram.static MassUnitMEGAELECTRONVOLTmegaelectronvolt.static MassUnitMICROELECTRONVOLTmicroelectronvolt.static MassUnitMICROGRAMmicrogram.static MassUnitMILLIELECTRONVOLTmillielectronvolt.static MassUnitMILLIGRAMmilligram.static MassUnitOUNCEpound.static MassUnitPOUNDpound.static MassUnitSIThe SI unit for mass is kilogram.static MassUnitTON_LONGlong ton = 2240 lb.static MassUnitTON_METRICmetric ton = 1000 kg.static MassUnitTON_SHORTshort ton = 2000 lb.static MassUnitTONNEmetric ton = 1000 kg. -
Constructor Summary
Constructors Constructor Description MassUnit() -
Method Summary
Methods inherited from class org.djunits.unit.Unit
build, clone, deriveLinear, deriveLinear, deriveLinear, derivePerSI, deriveSI, deriveSI, deriveSIKilo, equals, getAbbreviations, getDefaultDisplayAbbreviation, getDefaultTextualAbbreviation, getId, getName, getQuantity, getScale, getStandardUnit, getUnit, getUnitSystem, hashCode, isBaseSIUnit, isGenerated, lookupOrCreateUnitWithSIDimensions, makeBuilder, toString
-
Field Details
-
BASE
The base, with "kg" as the SI signature. -
SI
The SI unit for mass is kilogram. -
KILOGRAM
kilogram. -
GRAM
gram. -
MICROGRAM
microgram. -
MILLIGRAM
milligram. -
POUND
pound. -
OUNCE
pound. -
TON_LONG
long ton = 2240 lb. -
TON_SHORT
short ton = 2000 lb. -
TON_METRIC
metric ton = 1000 kg. -
TONNE
metric ton = 1000 kg. -
DALTON
dalton. -
ELECTRONVOLT
electronvolt = 1.782661907E-36 kg. See http://physics.nist.gov/cuu/Constants/Table/allascii.txt. -
MICROELECTRONVOLT
microelectronvolt. -
MILLIELECTRONVOLT
millielectronvolt. -
KILOELECTRONVOLT
kiloelectronvolt. -
MEGAELECTRONVOLT
megaelectronvolt. -
GIGAELECTRONVOLT
gigaelectronvolt.
-
-
Constructor Details
-
MassUnit
public MassUnit()
-