Package org.djunits.unit
Class DensityUnit
- java.lang.Object
-
- org.djunits.unit.Unit<DensityUnit>
-
- org.djunits.unit.DensityUnit
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DensityUnit extends Unit<DensityUnit>
Standard density unit based on mass per volume.Copyright (c) 2015-2022 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<DensityUnit>BASEThe base, with "kg/m3" as the SI signature.static DensityUnitGRAM_PER_CENTIMETER_3g/cm^3.static DensityUnitKG_PER_METER_3kg/m^3.static DensityUnitSIThe SI unit for standard density is kg/m^3.
-
Constructor Summary
Constructors Constructor Description DensityUnit()
-
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 Detail
-
BASE
public static final Quantity<DensityUnit> BASE
The base, with "kg/m3" as the SI signature.
-
SI
public static final DensityUnit SI
The SI unit for standard density is kg/m^3.
-
KG_PER_METER_3
public static final DensityUnit KG_PER_METER_3
kg/m^3.
-
GRAM_PER_CENTIMETER_3
public static final DensityUnit GRAM_PER_CENTIMETER_3
g/cm^3.
-
-