Package org.djunits.unit
Class MassUnit
- java.lang.Object
-
- org.djunits.unit.Unit<MassUnit>
-
- org.djunits.unit.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-2023 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>
BASE
The base, with "kg" as the SI signature.static MassUnit
DALTON
dalton.static MassUnit
ELECTRONVOLT
electronvolt = 1.782661907E-36 kg.static MassUnit
GIGAELECTRONVOLT
gigaelectronvolt.static MassUnit
GRAM
gram.static MassUnit
KILOELECTRONVOLT
kiloelectronvolt.static MassUnit
KILOGRAM
kilogram.static MassUnit
MEGAELECTRONVOLT
megaelectronvolt.static MassUnit
MICROELECTRONVOLT
microelectronvolt.static MassUnit
MICROGRAM
microgram.static MassUnit
MILLIELECTRONVOLT
millielectronvolt.static MassUnit
MILLIGRAM
milligram.static MassUnit
OUNCE
pound.static MassUnit
POUND
pound.static MassUnit
SI
The SI unit for mass is kilogram.static MassUnit
TON_LONG
long ton = 2240 lb.static MassUnit
TON_METRIC
metric ton = 1000 kg.static MassUnit
TON_SHORT
short ton = 2000 lb.static MassUnit
TONNE
metric 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, getDefaultAbbreviations, getDefaultDisplayAbbreviation, getDefaultTextualAbbreviation, getId, getLocalizedAbbreviations, getLocalizedDisplayAbbreviation, getLocalizedTextualAbbreviation, getName, getQuantity, getScale, getStandardUnit, getUnit, getUnitSystem, hashCode, isBaseSIUnit, isGenerated, lookupOrCreateUnitWithSIDimensions, makeBuilder, toString
-
-
-
-
Field Detail
-
SI
public static final MassUnit SI
The SI unit for mass is kilogram.
-
KILOGRAM
public static final MassUnit KILOGRAM
kilogram.
-
GRAM
public static final MassUnit GRAM
gram.
-
MICROGRAM
public static final MassUnit MICROGRAM
microgram.
-
MILLIGRAM
public static final MassUnit MILLIGRAM
milligram.
-
POUND
public static final MassUnit POUND
pound.
-
OUNCE
public static final MassUnit OUNCE
pound.
-
TON_LONG
public static final MassUnit TON_LONG
long ton = 2240 lb.
-
TON_SHORT
public static final MassUnit TON_SHORT
short ton = 2000 lb.
-
TON_METRIC
public static final MassUnit TON_METRIC
metric ton = 1000 kg.
-
TONNE
public static final MassUnit TONNE
metric ton = 1000 kg.
-
DALTON
public static final MassUnit DALTON
dalton.
-
ELECTRONVOLT
public static final MassUnit ELECTRONVOLT
electronvolt = 1.782661907E-36 kg. See http://physics.nist.gov/cuu/Constants/Table/allascii.txt.
-
MICROELECTRONVOLT
public static final MassUnit MICROELECTRONVOLT
microelectronvolt.
-
MILLIELECTRONVOLT
public static final MassUnit MILLIELECTRONVOLT
millielectronvolt.
-
KILOELECTRONVOLT
public static final MassUnit KILOELECTRONVOLT
kiloelectronvolt.
-
MEGAELECTRONVOLT
public static final MassUnit MEGAELECTRONVOLT
megaelectronvolt.
-
GIGAELECTRONVOLT
public static final MassUnit GIGAELECTRONVOLT
gigaelectronvolt.
-
-