Class EnergyUnit
java.lang.Object
neqsim.util.unit.BaseUnit
neqsim.util.unit.EnergyUnit
- All Implemented Interfaces:
Serializable, ThermodynamicConstantsInterface, Unit
EnergyUnit class for converting between different energy units.
- Version:
- $Id: $Id
- Author:
- esol
- See Also:
-
Field Summary
FieldsFields inherited from interface ThermodynamicConstantsInterface
atm, avagadroNumber, boltzmannConstant, electronCharge, faradayConstant, gravity, molarMassAir, normalStateTemperature, pi, planckConstant, R, referencePressure, referenceTemperature, standardStateTemperature, vacumPermittivity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetConversionFactor(String name) Get conversion factor to Joules (SI unit).doubleConvert value from a specified unit to a specified unit.doubleGet process value in specified unit.Methods inherited from class BaseUnit
getSIvalue
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
EnergyUnit
Constructor for EnergyUnit.- Parameters:
value- energy valueunit- engineering unit of value
-
-
Method Details
-
getConversionFactor
Get conversion factor to Joules (SI unit).- Parameters:
name- unit name- Returns:
- conversion factor to Joules
-
getValue
-
getValue
-