public class ElectricalResistanceUnit extends Unit<ElectricalResistanceUnit>
Copyright (c) 2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUNITS License.
$LastChangedDate: 2015-10-04 20:48:33 +0200 (Sun, 04 Oct 2015) $, @version $Revision: 87 $, by $Author: averbraeck $, initial
version May 15, 2014
| 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 name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalResistanceUnit based on an electrical potential unit and an electrical current unit, e.g.
|
ElectricalResistanceUnit(MassUnit massUnit,
LengthUnit lengthUnit,
ElectricalCurrentUnit electricalCurrentUnit,
TimeUnit timeUnit,
String name,
String abbreviation,
UnitSystem unitSystem)
Define a user-defined ElectricalResistanceUnit based on its constituent base units, e.g.
|
ElectricalResistanceUnit(String name,
String abbreviation,
UnitSystem unitSystem,
ElectricalResistanceUnit referenceUnit,
double conversionFactorToReferenceUnit)
Build a user-defined ElectricalResistanceUnit with a conversion factor to another ElectricalResistanceUnit.
|
| Modifier and Type | Method and Description |
|---|---|
ElectricalCurrentUnit |
getElectricalCurrentUnit() |
LengthUnit |
getLengthUnit() |
MassUnit |
getMassUnit() |
String |
getSICoefficientsString() |
ElectricalResistanceUnit |
getStandardUnit() |
TimeUnit |
getTimeUnit() |
equals, getAbbreviation, getAbbreviationKey, getAllUnitsOfThisType, getConversionFactorToStandardUnit, getName, getNameKey, getSICoefficients, getUnits, getUnitSystem, hashCode, isLocalizable, lookupOrCreateSIUnitWithSICoefficients, lookupOrCreateUnitWithSICoefficients, lookupUnitWithSICoefficients, toStringpublic 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 name, String abbreviation, 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., secondname - the long name of the unitabbreviation - the abbreviation of the unitunitSystem - the unit system, e.g. SI or Imperialpublic ElectricalResistanceUnit(ElectricalPotentialUnit electricalPotentialUnit, ElectricalCurrentUnit electricalCurrentUnit, String name, String abbreviation, 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., Amperename - the long name of the unitabbreviation - the abbreviation of the unitunitSystem - the unit system, e.g. SI or Imperialpublic ElectricalResistanceUnit(String name, String abbreviation, UnitSystem unitSystem, ElectricalResistanceUnit referenceUnit, double conversionFactorToReferenceUnit)
name - the long name of the unitabbreviation - 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 © 2015 Delft University of Technology. All rights reserved.