Uses of Class
org.djunits.unit.MassUnit
Packages that use 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
Fields in org.djunits.unit declared as MassUnitModifier and TypeFieldDescriptionstatic final MassUnitMassUnit.DALTONdalton.static final MassUnitMassUnit.ELECTRONVOLTelectronvolt = 1.782661907E-36 kg.static final MassUnitMassUnit.GIGAELECTRONVOLTgigaelectronvolt.static final MassUnitMassUnit.GRAMgram.static final MassUnitMassUnit.KILOELECTRONVOLTkiloelectronvolt.static final MassUnitMassUnit.KILOGRAMkilogram.static final MassUnitMassUnit.MEGAELECTRONVOLTmegaelectronvolt.static final MassUnitMassUnit.MICROELECTRONVOLTmicroelectronvolt.static final MassUnitMassUnit.MICROGRAMmicrogram.static final MassUnitMassUnit.MILLIELECTRONVOLTmillielectronvolt.static final MassUnitMassUnit.MILLIGRAMmilligram.static final MassUnitMassUnit.OUNCEpound.static final MassUnitMassUnit.POUNDpound.static final MassUnitMassUnit.SIThe SI unit for mass is kilogram.static final MassUnitMassUnit.TON_LONGlong ton = 2240 lb.static final MassUnitMassUnit.TON_METRICmetric ton = 1000 kg.static final MassUnitMassUnit.TON_SHORTshort ton = 2000 lb.static final MassUnitMassUnit.TONNEmetric ton = 1000 kg.Fields in org.djunits.unit with type parameters of type MassUnit -
Uses of MassUnit in org.djunits.unit.util
Fields in org.djunits.unit.util declared as MassUnitModifier and TypeFieldDescriptionstatic final MassUnitUNITS.DALTONstatic final MassUnitUNITS.GRAMstatic final MassUnitUNITS.KILOGRAMstatic final MassUnitUNITS.MASS_ELECTRONVOLTstatic final MassUnitUNITS.MASS_GIGAELECTRONVOLTstatic final MassUnitUNITS.MASS_KILOELECTRONVOLTstatic final MassUnitUNITS.MASS_MEGAELECTRONVOLTstatic final MassUnitUNITS.MASS_MICROELECTRONVOLTstatic final MassUnitUNITS.MASS_MILLIELECTRONVOLTstatic final MassUnitUNITS.MICROGRAMstatic final MassUnitUNITS.MILLIGRAMstatic final MassUnitUNITS.OUNCEstatic final MassUnitUNITS.POUNDstatic final MassUnitUNITS.TON_LONGstatic final MassUnitUNITS.TON_METRICstatic final MassUnitUNITS.TON_SHORTstatic final MassUnitUNITS.TONNE -
Uses of MassUnit in org.djunits.value.vdouble.matrix
Methods in org.djunits.value.vdouble.matrix with parameters of type MassUnitModifier and TypeMethodDescriptionfinal MassMatrixReturn 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) Constructors in org.djunits.value.vdouble.matrix with parameters of type MassUnitModifierConstructorDescriptionMassMatrix(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.Constructor parameters in org.djunits.value.vdouble.matrix with type arguments of type MassUnitModifierConstructorDescriptionMassMatrix(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
Methods in org.djunits.value.vdouble.scalar with parameters of type MassUnitModifier and TypeMethodDescriptionfinal MassReturn the current scalar as a mass, and provide a display unit.final MassMass.instantiateRel(double value, MassUnit unit) Constructors in org.djunits.value.vdouble.scalar with parameters of type MassUnit -
Uses of MassUnit in org.djunits.value.vdouble.vector
Methods in org.djunits.value.vdouble.vector with parameters of type MassUnitModifier and TypeMethodDescriptionfinal MassVectorReturn the current vector as a mass vector, and provide a display unit.MassVector.instantiateScalarSI(double valueSI, MassUnit displayUnit) MassVector.instantiateVector(DoubleVectorData dvd, MassUnit displayUnit) Constructors in org.djunits.value.vdouble.vector with parameters of type MassUnitModifierConstructorDescriptionMassVector(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
Methods in org.djunits.value.vfloat.matrix with parameters of type MassUnitModifier and TypeMethodDescriptionfinal FloatMassMatrixReturn 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) Constructors in org.djunits.value.vfloat.matrix with parameters of type MassUnitModifierConstructorDescriptionFloatMassMatrix(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.Constructor parameters in org.djunits.value.vfloat.matrix with type arguments of type MassUnitModifierConstructorDescriptionFloatMassMatrix(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
Methods in org.djunits.value.vfloat.scalar with parameters of type MassUnitModifier and TypeMethodDescriptionfinal FloatMassReturn the current scalar as a mass, and provide a display unit.final FloatMassFloatMass.instantiateRel(float value, MassUnit unit) Constructors in org.djunits.value.vfloat.scalar with parameters of type MassUnit -
Uses of MassUnit in org.djunits.value.vfloat.vector
Methods in org.djunits.value.vfloat.vector with parameters of type MassUnitModifier and TypeMethodDescriptionfinal FloatMassVectorReturn the current vector as a mass vector, and provide a display unit.FloatMassVector.instantiateScalarSI(float valueSI, MassUnit displayUnit) FloatMassVector.instantiateVector(FloatVectorData fvd, MassUnit displayUnit) Constructors in org.djunits.value.vfloat.vector with parameters of type MassUnitModifierConstructorDescriptionFloatMassVector(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.