public class EnergyUnit extends Unit<EnergyUnit>
Copyright (c) 2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Field and Description |
---|---|
static EnergyUnit |
BTU_ISO
British thermal unit (ISO).
|
static EnergyUnit |
BTU_IT
British thermal unit (International Table).
|
static EnergyUnit |
CALORIE_IT
calorie (International Table).
|
static EnergyUnit |
ELECTRONVOLT
electronvolt.
|
static EnergyUnit |
ERG
erg (cgs).
|
static EnergyUnit |
EXA_ELECTRONVOLT
exa-electronvolt.
|
static EnergyUnit |
FOOT_POUND_FORCE
foot-pound force.
|
static EnergyUnit |
GIGA_ELECTRONVOLT
giga-electronvolt.
|
static EnergyUnit |
GIGAWATT_HOUR
gigawatt-hour.
|
static EnergyUnit |
INCH_POUND_FORCE
inch-pound force.
|
static EnergyUnit |
JOULE
Joule.
|
static EnergyUnit |
KILO_ELECTRONVOLT
kilo-electronvolt.
|
static EnergyUnit |
KILOCALORIE
kilocalorie.
|
static EnergyUnit |
KILOWATT_HOUR
kilowatt-hour.
|
static EnergyUnit |
MEGA_ELECTRONVOLT
mega-electronvolt.
|
static EnergyUnit |
MEGAWATT_HOUR
megawatt-hour.
|
static EnergyUnit |
MICROWATT_HOUR
microwatt-hour.
|
static EnergyUnit |
MILLI_ELECTRONVOLT
milli-electronvolt.
|
static EnergyUnit |
MILLIWATT_HOUR
milliwatt-hour.
|
static EnergyUnit |
PETA_ELECTRONVOLT
peta-electronvolt.
|
static EnergyUnit |
SI
The SI unit for energy is Joule.
|
static EnergyUnit |
STHENE_METER
sthene-meter (mts).
|
static EnergyUnit |
TERA_ELECTRONVOLT
tera-electronvolt.
|
static EnergyUnit |
TERAWATT_HOUR
terawatt-hour.
|
static EnergyUnit |
WATT_HOUR
watt-hour.
|
Constructor and Description |
---|
EnergyUnit(LengthUnit lengthUnit,
ForceUnit forceUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
EnergyUnit(MassUnit massUnit,
LengthUnit lengthUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
EnergyUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem,
EnergyUnit referenceUnit,
double conversionFactorToReferenceUnit) |
Modifier and Type | Method and Description |
---|---|
LengthUnit |
getLengthUnit() |
MassUnit |
getMassUnit() |
String |
getSICoefficientsString() |
EnergyUnit |
getStandardUnit() |
TimeUnit |
getTimeUnit() |
getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getConversionFactorToStandardUnit, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toString
public static final EnergyUnit SI
public static final EnergyUnit JOULE
public static final EnergyUnit FOOT_POUND_FORCE
public static final EnergyUnit INCH_POUND_FORCE
public static final EnergyUnit BTU_ISO
public static final EnergyUnit BTU_IT
public static final EnergyUnit CALORIE_IT
public static final EnergyUnit KILOCALORIE
public static final EnergyUnit WATT_HOUR
public static final EnergyUnit KILOWATT_HOUR
public static final EnergyUnit MEGAWATT_HOUR
public static final EnergyUnit GIGAWATT_HOUR
public static final EnergyUnit TERAWATT_HOUR
public static final EnergyUnit MILLIWATT_HOUR
public static final EnergyUnit MICROWATT_HOUR
public static final EnergyUnit ELECTRONVOLT
public static final EnergyUnit MILLI_ELECTRONVOLT
public static final EnergyUnit KILO_ELECTRONVOLT
public static final EnergyUnit MEGA_ELECTRONVOLT
public static final EnergyUnit GIGA_ELECTRONVOLT
public static final EnergyUnit TERA_ELECTRONVOLT
public static final EnergyUnit PETA_ELECTRONVOLT
public static final EnergyUnit EXA_ELECTRONVOLT
public static final EnergyUnit STHENE_METER
public static final EnergyUnit ERG
public EnergyUnit(MassUnit massUnit, LengthUnit lengthUnit, TimeUnit timeUnit, String nameKey, String abbreviationKey, UnitSystem unitSystem)
massUnit
- the unit of mass for the energy unit, e.g., kilogramlengthUnit
- the unit of length for the energy unit, e.g., metertimeUnit
- the unit of time for the energy unit, e.g., secondnameKey
- the key to the locale file for the long name of the unitabbreviationKey
- the key to the locale file for the abbreviation of the unitunitSystem
- the unit system, e.g. SI or Imperialpublic EnergyUnit(LengthUnit lengthUnit, ForceUnit forceUnit, String nameKey, String abbreviationKey, UnitSystem unitSystem)
lengthUnit
- the unit of length for the energy unit, e.g., mforceUnit
- the unit of force for the energy unit, e.g., NewtonnameKey
- the key to the locale file for the long name of the unitabbreviationKey
- the key to the locale file for the abbreviation of the unitunitSystem
- the unit system, e.g. SI or Imperialpublic EnergyUnit(String nameKey, String abbreviationKey, UnitSystem unitSystem, EnergyUnit referenceUnit, double conversionFactorToReferenceUnit)
nameKey
- the key to the locale file for the long name of the unitabbreviationKey
- the key to the locale file for the abbreviation of the unitunitSystem
- the unit system, e.g. SI or ImperialreferenceUnit
- the unit to convert toconversionFactorToReferenceUnit
- multiply a value in this unit by the factor to convert to the given
reference unitpublic final MassUnit getMassUnit()
public final LengthUnit getLengthUnit()
public final TimeUnit getTimeUnit()
public final EnergyUnit getStandardUnit()
getStandardUnit
in class Unit<EnergyUnit>
public final String getSICoefficientsString()
getSICoefficientsString
in class Unit<EnergyUnit>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.