Uses of Class
org.djunits.unit.MassUnit
Package
Description
Units for version 4 of DJUNITS.
Utility classes for the unit package.
Double Matrix storage and calculations with units, absolute/relative, sparse/dense.
Double Scalar storage and calculations with units, absolute/relative.Note: All code in this package is generated.
Double Vector storage and calculations with units, absolute/relative, sparse/dense.
Float Matrix storage and calculations with units, absolute/relative, sparse/dense.
Float Scalar storage and calculations with units, absolute/relative.
Float Vector storage and calculations with units, absolute/relative, sparse/dense.
-
Uses of MassUnit in org.djunits.unit
Modifier and TypeFieldDescriptionstatic final MassUnit
MassUnit.DALTON
dalton.static final MassUnit
MassUnit.ELECTRONVOLT
electronvolt = 1.782661907E-36 kg.static final MassUnit
MassUnit.GIGAELECTRONVOLT
gigaelectronvolt.static final MassUnit
MassUnit.GRAM
gram.static final MassUnit
MassUnit.KILOELECTRONVOLT
kiloelectronvolt.static final MassUnit
MassUnit.KILOGRAM
kilogram.static final MassUnit
MassUnit.MEGAELECTRONVOLT
megaelectronvolt.static final MassUnit
MassUnit.MICROELECTRONVOLT
microelectronvolt.static final MassUnit
MassUnit.MICROGRAM
microgram.static final MassUnit
MassUnit.MILLIELECTRONVOLT
millielectronvolt.static final MassUnit
MassUnit.MILLIGRAM
milligram.static final MassUnit
MassUnit.OUNCE
pound.static final MassUnit
MassUnit.POUND
pound.static final MassUnit
MassUnit.SI
The SI unit for mass is kilogram.static final MassUnit
MassUnit.TON_LONG
long ton = 2240 lb.static final MassUnit
MassUnit.TON_METRIC
metric ton = 1000 kg.static final MassUnit
MassUnit.TON_SHORT
short ton = 2000 lb.static final MassUnit
MassUnit.TONNE
metric ton = 1000 kg. -
Uses of MassUnit in org.djunits.unit.util
Modifier and TypeFieldDescriptionstatic final MassUnit
UNITS.DALTON
static final MassUnit
UNITS.GRAM
static final MassUnit
UNITS.KILOGRAM
static final MassUnit
UNITS.MASS_ELECTRONVOLT
static final MassUnit
UNITS.MASS_GIGAELECTRONVOLT
static final MassUnit
UNITS.MASS_KILOELECTRONVOLT
static final MassUnit
UNITS.MASS_MEGAELECTRONVOLT
static final MassUnit
UNITS.MASS_MICROELECTRONVOLT
static final MassUnit
UNITS.MASS_MILLIELECTRONVOLT
static final MassUnit
UNITS.MICROGRAM
static final MassUnit
UNITS.MILLIGRAM
static final MassUnit
UNITS.OUNCE
static final MassUnit
UNITS.POUND
static final MassUnit
UNITS.TON_LONG
static final MassUnit
UNITS.TON_METRIC
static final MassUnit
UNITS.TON_SHORT
static final MassUnit
UNITS.TONNE
-
Uses of MassUnit in org.djunits.value.vdouble.matrix
Modifier and TypeMethodDescriptionfinal MassMatrix
Return the current matrix as a mass matrix, and provide a display unit.MassMatrix.instantiateMatrix
(DoubleMatrixData dmd, MassUnit displayUnit) MassMatrix.instantiateScalarSI
(double valueSI, MassUnit displayUnit) MassMatrix.instantiateVector
(DoubleVectorData dvd, MassUnit displayUnit) ModifierConstructorDescriptionMassMatrix
(double[][] data, MassUnit displayUnit) Construct a MassMatrix from a double[][] object.MassMatrix
(double[][] data, MassUnit displayUnit, StorageType storageType) Construct a MassMatrix from a double[][] object.MassMatrix
(Collection<DoubleSparseValue<MassUnit, Mass>> data, MassUnit displayUnit, int rows, int cols) Construct a MassMatrix from a (sparse) collection of DoubleSparseValue objects.MassMatrix
(Collection<DoubleSparseValue<MassUnit, Mass>> data, MassUnit displayUnit, int rows, int cols, StorageType storageType) Construct a MassMatrix from a (sparse) collection of DoubleSparseValue objects.MassMatrix
(DoubleMatrixData data, MassUnit displayUnit) Construct a MassMatrix from an internal data object.MassMatrix
(Mass[][] data, MassUnit displayUnit) Construct a MassMatrix from an array of an array of Mass objects.MassMatrix
(Mass[][] data, MassUnit displayUnit, StorageType storageType) Construct a MassMatrix from an array of an array of Mass objects.ModifierConstructorDescriptionMassMatrix
(Collection<DoubleSparseValue<MassUnit, Mass>> data, int rows, int cols) Construct a MassMatrix from a (sparse) collection of DoubleSparseValue objects.MassMatrix
(Collection<DoubleSparseValue<MassUnit, Mass>> data, int rows, int cols, StorageType storageType) Construct a MassMatrix from a (sparse) collection of DoubleSparseValue objects.MassMatrix
(Collection<DoubleSparseValue<MassUnit, Mass>> data, MassUnit displayUnit, int rows, int cols) Construct a MassMatrix from a (sparse) collection of DoubleSparseValue objects.MassMatrix
(Collection<DoubleSparseValue<MassUnit, Mass>> data, MassUnit displayUnit, int rows, int cols, StorageType storageType) Construct a MassMatrix from a (sparse) collection of DoubleSparseValue objects. -
Uses of MassUnit in org.djunits.value.vdouble.scalar
Modifier and TypeMethodDescriptionfinal Mass
Return the current scalar as a mass, and provide a display unit.final Mass
Mass.instantiateRel
(double value, MassUnit unit) -
Uses of MassUnit in org.djunits.value.vdouble.vector
Modifier and TypeMethodDescriptionfinal MassVector
Return the current vector as a mass vector, and provide a display unit.MassVector.instantiateScalarSI
(double valueSI, MassUnit displayUnit) MassVector.instantiateVector
(DoubleVectorData dvd, MassUnit displayUnit) ModifierConstructorDescriptionMassVector
(double[] data, MassUnit displayUnit) Construct an MassVector from a double[] object.MassVector
(double[] data, MassUnit displayUnit, StorageType storageType) Construct an MassVector from a double[] object.MassVector
(List<? extends Number> data, MassUnit displayUnit) Construct an MassVector from a list of Number objects or a list of Mass objects.MassVector
(List<? extends Number> data, MassUnit displayUnit, StorageType storageType) Construct an MassVector from a list of Number objects or a list of Mass objects.MassVector
(Map<Integer, ? extends Number> data, int size, MassUnit displayUnit) Construct an MassVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of Mass objects.MassVector
(Map<Integer, ? extends Number> data, int size, MassUnit displayUnit, StorageType storageType) Construct an MassVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of Mass objects.MassVector
(Mass[] data, MassUnit displayUnit) Construct an MassVector from an array of Mass objects.MassVector
(Mass[] data, MassUnit displayUnit, StorageType storageType) Construct an MassVector from an array of Mass objects.MassVector
(DoubleVectorData data, MassUnit displayUnit) Construct an MassVector from an internal data object. -
Uses of MassUnit in org.djunits.value.vfloat.matrix
Modifier and TypeMethodDescriptionfinal FloatMassMatrix
Return the current matrix as a mass matrix, and provide a display unit.FloatMassMatrix.instantiateMatrix
(FloatMatrixData fmd, MassUnit displayUnit) FloatMassMatrix.instantiateScalarSI
(float valueSI, MassUnit displayUnit) FloatMassMatrix.instantiateVector
(FloatVectorData fvd, MassUnit displayUnit) ModifierConstructorDescriptionFloatMassMatrix
(float[][] data, MassUnit displayUnit) Construct a FloatMassMatrix from a float[][] object.FloatMassMatrix
(float[][] data, MassUnit displayUnit, StorageType storageType) Construct a FloatMassMatrix from a float[][] object.FloatMassMatrix
(Collection<FloatSparseValue<MassUnit, FloatMass>> data, MassUnit displayUnit, int rows, int cols) Construct a FloatMassMatrix from a (sparse) collection of FloatSparseValue objects.FloatMassMatrix
(Collection<FloatSparseValue<MassUnit, FloatMass>> data, MassUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatMassMatrix from a (sparse) collection of FloatSparseValue objects.FloatMassMatrix
(FloatMatrixData data, MassUnit displayUnit) Construct a FloatMassMatrix from an internal data object.FloatMassMatrix
(FloatMass[][] data, MassUnit displayUnit) Construct a FloatMassMatrix from an array of an array of FloatMass objects.FloatMassMatrix
(FloatMass[][] data, MassUnit displayUnit, StorageType storageType) Construct a FloatMassMatrix from an array of an array of FloatMass objects.ModifierConstructorDescriptionFloatMassMatrix
(Collection<FloatSparseValue<MassUnit, FloatMass>> data, int rows, int cols) Construct a FloatMassMatrix from a (sparse) collection of FloatSparseValue objects.FloatMassMatrix
(Collection<FloatSparseValue<MassUnit, FloatMass>> data, int rows, int cols, StorageType storageType) Construct a FloatMassMatrix from a (sparse) collection of FloatSparseValue objects.FloatMassMatrix
(Collection<FloatSparseValue<MassUnit, FloatMass>> data, MassUnit displayUnit, int rows, int cols) Construct a FloatMassMatrix from a (sparse) collection of FloatSparseValue objects.FloatMassMatrix
(Collection<FloatSparseValue<MassUnit, FloatMass>> data, MassUnit displayUnit, int rows, int cols, StorageType storageType) Construct a FloatMassMatrix from a (sparse) collection of FloatSparseValue objects. -
Uses of MassUnit in org.djunits.value.vfloat.scalar
Modifier and TypeMethodDescriptionfinal FloatMass
Return the current scalar as a mass, and provide a display unit.final FloatMass
FloatMass.instantiateRel
(float value, MassUnit unit) -
Uses of MassUnit in org.djunits.value.vfloat.vector
Modifier and TypeMethodDescriptionfinal FloatMassVector
Return the current vector as a mass vector, and provide a display unit.FloatMassVector.instantiateScalarSI
(float valueSI, MassUnit displayUnit) FloatMassVector.instantiateVector
(FloatVectorData fvd, MassUnit displayUnit) ModifierConstructorDescriptionFloatMassVector
(float[] data, MassUnit displayUnit) Construct a FloatMassVector from a float[] object.FloatMassVector
(float[] data, MassUnit displayUnit, StorageType storageType) Construct a FloatMassVector from a float[] object.FloatMassVector
(List<? extends Number> data, MassUnit displayUnit) Construct a FloatMassVector from a list of Number objects or a list of FloatMass objects.FloatMassVector
(List<? extends Number> data, MassUnit displayUnit, StorageType storageType) Construct a FloatMassVector from a list of Number objects or a list of FloatMass objects.FloatMassVector
(Map<Integer, ? extends Number> data, int size, MassUnit displayUnit) Construct a FloatMassVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatMass objects.FloatMassVector
(Map<Integer, ? extends Number> data, int size, MassUnit displayUnit, StorageType storageType) Construct a FloatMassVector from a (sparse) map of index values to Number objects or a (sparse) map of index values to of FloatMass objects.FloatMassVector
(FloatMass[] data, MassUnit displayUnit) Construct a FloatMassVector from an array of FloatMass objects.FloatMassVector
(FloatMass[] data, MassUnit displayUnit, StorageType storageType) Construct a FloatMassVector from an array of FloatMass objects.FloatMassVector
(FloatVectorData data, MassUnit displayUnit) Construct a FloatMassVector from an internal data object.