Uses of Class
org.djunits.quantity.Density
Packages that use Density
Package
Description
The quantity package stores information about quantities with their units.
-
Uses of Density in org.djunits.quantity
Fields in org.djunits.quantity declared as DensityModifier and TypeFieldDescriptionstatic final DensityDensity.NaNConstant with value NaN.static final DensityDensity.NEG_MAXVALUEConstant with value -MAX_VALUE.static final DensityDensity.NEGATIVE_INFINITYConstant with value NEGATIVE_INFINITY.static final DensityDensity.ONEConstant with value one.static final DensityDensity.POS_MAXVALUEConstant with value MAX_VALUE.static final DensityDensity.POSITIVE_INFINITYConstant with value POSITIVE_INFINITY.static final DensityDensity.ZEROConstant with value zero.Methods in org.djunits.quantity that return DensityModifier and TypeMethodDescriptionFlowMass.divide(FlowVolume v) Calculate the division of FlowMass and FlowVolume, which results in a Density scalar.Calculate the division of Mass and Volume, which results in a Density scalar.Density.instantiateSi(double siValue, UnitInterface<Density> displayUnit) static DensityReturns a Density based on a value and the textual representation of the unit, which can be localized.static DensityDensity.of(double valueInUnit, Density.Unit unit) Returns a Density based on a value expressed in the unit.static DensityDensity.ofSi(double si) Return a Density instance based on an SI value.static DensityDensity.ofSi(double siValue, Density.Unit displayUnit) Instantiate a Density quantity with an SI or base value and a display unit.Density.Unit.ofSi(double si, UnitInterface<Density> displayUnit) static DensityReturns a Density representation of a textual representation of a value with a unit.Methods in org.djunits.quantity with parameters of type DensityModifier and TypeMethodDescriptionCalculate the division of Density and Density, which results in a Dimensionless quantity.Calculate the division of FlowMass and Density, which results in a FlowVolume scalar.Calculate the division of Mass and Density, which results in a Volume scalar.Calculate the multiplication of FlowVolume and Density, which results in a FlowMass scalar.Calculate the multiplication of Volume and Density, which results in a Mass scalar.Method parameters in org.djunits.quantity with type arguments of type DensityModifier and TypeMethodDescriptionDensity.instantiateSi(double siValue, UnitInterface<Density> displayUnit) Density.Unit.ofSi(double si, UnitInterface<Density> displayUnit)