Uses of Class
org.djunits.quantity.Mass

Packages that use Mass
Package
Description
The quantity package stores information about quantities with their units.
General utilities for djunits.
  • Uses of Mass in org.djunits.quantity

    Fields in org.djunits.quantity declared as Mass
    Modifier and Type
    Field
    Description
    static final Mass
    Mass.NaN
    Constant with value NaN.
    static final Mass
    Constant with value -MAX_VALUE.
    static final Mass
    Constant with value NEGATIVE_INFINITY.
    static final Mass
    Mass.ONE
    Constant with value one.
    static final Mass
    Constant with value MAX_VALUE.
    static final Mass
    Constant with value POSITIVE_INFINITY.
    static final Mass
    Mass.ZERO
    Constant with value zero.
    Methods in org.djunits.quantity that return Mass
    Modifier and Type
    Method
    Description
    final Mass
    FlowMass.divide(Frequency v)
    Calculate the division of FlowMass and Frequency, which results in a Mass scalar.
    final Mass
    Calculate the division of Force and Acceleration, which results in a Mass scalar.
    final Mass
    LinearDensity.divide(LinearObjectDensity lod)
    Divides this linear density by a linear object density to yield a mass.
    final Mass
    Momentum.divide(Speed v)
    Calculate the division of Momentum and Speed, which results in a Mass scalar.
    Mass.instantiate(double si)
     
    final Mass
    Density.multiply(Volume v)
    Calculate the multiplication of Density and Volume, which results in a Mass scalar.
    final Mass
    Duration.multiply(FlowMass v)
    Calculate the multiplication of Duration and FlowMass, which results in a Mass scalar.
    final Mass
    FlowMass.multiply(Duration v)
    Calculate the multiplication of FlowMass and Duration, which results in a Mass scalar.
    final Mass
    LinearDensity.multiply(Length length)
    Multiplies this linear density by a length to yield a mass.
    final Mass
    Volume.multiply(Density v)
    Calculate the multiplication of Volume and Density, which results in a Mass scalar.
    static Mass
    Mass.of(double value, String unitString)
    Returns a Mass based on a value and the textual representation of the unit, which can be localized.
    static Mass
    Mass.ofSi(double si)
    Return a Mass instance based on an SI value.
    Mass.Unit.ofSi(double si)
     
    static Mass
    Mass.valueOf(String text)
    Returns a Mass representation of a textual representation of a value with a unit.
    Methods in org.djunits.quantity with parameters of type Mass
    Modifier and Type
    Method
    Description
    final Frequency
    FlowMass.divide(Mass v)
    Calculate the division of FlowMass and Mass, which results in a Frequency scalar.
    Force.divide(Mass v)
    Calculate the division of Force and Mass, which results in a Acceleration scalar.
    LinearDensity.divide(Mass mass)
    Divides this linear density by a mass to yield a linear object density.
    Mass.divide(Mass v)
    Calculate the division of Mass and Mass, which results in a Dimensionless quantity.
    final Speed
    Momentum.divide(Mass v)
    Calculate the division of Momentum and Mass, which results in a Speed scalar.
    final Force
    Acceleration.multiply(Mass v)
    Calculate the multiplication of Acceleration and Mass, which results in a Force scalar.
    final Momentum
    Speed.multiply(Mass v)
    Calculate the multiplication of Speed and Mass, which results in a Momentum scalar.
    Constructors in org.djunits.quantity with parameters of type Mass
    Modifier
    Constructor
    Description
     
    Mass(Mass value)
    Construct Mass quantity.
  • Uses of Mass in org.djunits.util

    Fields in org.djunits.util declared as Mass
    Modifier and Type
    Field
    Description
    static final Mass
    Constants.ELECTRONMASS
    Mass of an electron.
    static final Mass
    Constants.NEUTRONMASS
    Mass of a neutron.
    static final Mass
    Constants.PROTONMASS
    Mass of a proton.