public class FlowMassUnit extends LinearUnit<FlowMassUnit>
Copyright (c) 2015-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2019-03-02 19:06:46 +0100 (Sat, 02 Mar 2019) $, @version $Revision: 342 $, by $Author: averbraeck $,
initial version May 15, 2014
Modifier and Type | Field and Description |
---|---|
static FlowMassUnit |
KILOGRAM_PER_SECOND
kg/s.
|
static FlowMassUnit |
POUND_PER_SECOND
lb/s.
|
static FlowMassUnit |
SI
The SI unit for mass flow rate is kg/s.
|
STANDARD_UNITS
Constructor and Description |
---|
FlowMassUnit(MassUnit massUnit,
DurationUnit durationUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Create a user-defined flow-massunit based on mass and time.
|
FlowMassUnit(String name,
String abbreviation,
UnitSystem unitSystem,
FlowMassUnit referenceUnit,
double scaleFactorToReferenceUnit)
Build a user-defined unit with a conversion factor to another unit.
|
Modifier and Type | Method and Description |
---|---|
DurationUnit |
getDurationUnit() |
MassUnit |
getMassUnit() |
String |
getSICoefficientsString() |
FlowMassUnit |
getStandardUnit() |
equals, equalsIgnoreNaming, getScale, getScaleFactor, hashCode
generateHashCode, getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getDefaultLocaleAbbreviation, getDefaultLocaleName, getDefaultLocaleTextualRepresentation, getDefaultLocaleTextualRepresentations, getDefaultTextualRepresentation, getName, getSICoefficients, getTextualRepresentations, getUnits, getUnitSystem, isBaseSIUnit, isLocalizable, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toString
public static final FlowMassUnit SI
public static final FlowMassUnit KILOGRAM_PER_SECOND
public static final FlowMassUnit POUND_PER_SECOND
public FlowMassUnit(MassUnit massUnit, DurationUnit durationUnit, String name, String abbreviation, UnitSystem unitSystem)
massUnit
- MassUnit; the unit of mass for the flow unit, e.g., kilogramdurationUnit
- DurationUnit; the unit of time for the flow unit, e.g., secondname
- String; the long name of the unitabbreviation
- String; the abbreviation of the unitunitSystem
- UnitSystem; the unit system, e.g. SI or Imperialpublic FlowMassUnit(String name, String abbreviation, UnitSystem unitSystem, FlowMassUnit referenceUnit, double scaleFactorToReferenceUnit)
name
- String; the long name of the unitabbreviation
- String; the abbreviation of the unitunitSystem
- UnitSystem; the unit system, e.g. SI or ImperialreferenceUnit
- FlowMassUnit; the unit to convert toscaleFactorToReferenceUnit
- double; multiply a value in this unit by the factor to convert to the given reference
unitpublic final MassUnit getMassUnit()
public final DurationUnit getDurationUnit()
public final FlowMassUnit getStandardUnit()
getStandardUnit
in class Unit<FlowMassUnit>
public final String getSICoefficientsString()
getSICoefficientsString
in class Unit<FlowMassUnit>
Copyright © 2015–2019 Delft University of Technology. All rights reserved.