public class ElectricalResistanceUnit extends Unit<ElectricalResistanceUnit>
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 ElectricalResistanceUnit |
KILOOHM
kilo-ohm.
|
static ElectricalResistanceUnit |
MEGAOHM
mega-ohm.
|
static ElectricalResistanceUnit |
MILLIOHM
milli-ohm.
|
static ElectricalResistanceUnit |
OHM
Ohm.
|
static ElectricalResistanceUnit |
SI
The SI unit for electrical resistance is Ohm.
|
Constructor and Description |
---|
ElectricalResistanceUnit(ElectricalPotentialUnit electricalPotentialUnit,
ElectricalCurrentUnit electricalCurrentUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
ElectricalResistanceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String nameKey,
String abbreviationKey,
UnitSystem unitSystem) |
ElectricalResistanceUnit(String nameKey,
String abbreviationKey,
UnitSystem unitSystem,
ElectricalResistanceUnit referenceUnit,
double conversionFactorToReferenceUnit) |
Modifier and Type | Method and Description |
---|---|
ElectricalCurrentUnit |
getElectricalCurrentUnit() |
LengthUnit |
getLengthUnit() |
MassUnit |
getMassUnit() |
String |
getSICoefficientsString() |
ElectricalResistanceUnit |
getStandardUnit() |
TimeUnit |
getTimeUnit() |
getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getConversionFactorToStandardUnit, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toString
public static final ElectricalResistanceUnit SI
public static final ElectricalResistanceUnit OHM
public static final ElectricalResistanceUnit MILLIOHM
public static final ElectricalResistanceUnit KILOOHM
public static final ElectricalResistanceUnit MEGAOHM
public ElectricalResistanceUnit(MassUnit massUnit, LengthUnit lengthUnit, ElectricalCurrentUnit electricalCurrentUnit, TimeUnit timeUnit, String nameKey, String abbreviationKey, UnitSystem unitSystem)
massUnit
- the unit of mass for the electrical resistance unit, e.g., kilogramlengthUnit
- the unit of length for the electrical resistance unit, e.g., meterelectricalCurrentUnit
- the unit of electrical current for the electrical resistance unit, e.g., AmperetimeUnit
- the unit of time for the electrical resistance 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 ElectricalResistanceUnit(ElectricalPotentialUnit electricalPotentialUnit, ElectricalCurrentUnit electricalCurrentUnit, String nameKey, String abbreviationKey, UnitSystem unitSystem)
electricalPotentialUnit
- the unit of electrical potential difference for the electrical resistance unit,
e.g., VoltelectricalCurrentUnit
- the unit of electrical current for the electrical resistance unit, e.g., AmperenameKey
- 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 ElectricalResistanceUnit(String nameKey, String abbreviationKey, UnitSystem unitSystem, ElectricalResistanceUnit 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 ElectricalCurrentUnit getElectricalCurrentUnit()
public final TimeUnit getTimeUnit()
public final ElectricalResistanceUnit getStandardUnit()
getStandardUnit
in class Unit<ElectricalResistanceUnit>
public final String getSICoefficientsString()
getSICoefficientsString
in class Unit<ElectricalResistanceUnit>
Copyright © 2014–2015 Delft University of Technology. All rights reserved.