public class ElectricalResistanceUnit extends LinearUnit<ElectricalResistanceUnit>
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 ElectricalResistanceUnit |
ABOHM
ab-ohm.
|
static ElectricalResistanceUnit |
GIGAOHM
giga-ohm.
|
static ElectricalResistanceUnit |
KILOOHM
kilo-ohm.
|
static ElectricalResistanceUnit |
MEGAOHM
mega-ohm.
|
static ElectricalResistanceUnit |
MICROOHM
micro-ohm.
|
static ElectricalResistanceUnit |
MILLIOHM
milli-ohm.
|
static ElectricalResistanceUnit |
NANOOHM
nano-ohm.
|
static ElectricalResistanceUnit |
OHM
Ohm.
|
static ElectricalResistanceUnit |
SI
The SI unit for electrical resistance is Ohm.
|
static ElectricalResistanceUnit |
STATOHM
stat-ohm.
|
STANDARD_UNITS
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,
DurationUnit durationUnit,
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 scaleFactorToReferenceUnit)
Build a user-defined ElectricalResistanceUnit with a conversion factor to another ElectricalResistanceUnit.
|
Modifier and Type | Method and Description |
---|---|
DurationUnit |
getDurationUnit() |
ElectricalCurrentUnit |
getElectricalCurrentUnit() |
LengthUnit |
getLengthUnit() |
MassUnit |
getMassUnit() |
String |
getSICoefficientsString() |
ElectricalResistanceUnit |
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 ElectricalResistanceUnit SI
public static final ElectricalResistanceUnit OHM
public static final ElectricalResistanceUnit NANOOHM
public static final ElectricalResistanceUnit MICROOHM
public static final ElectricalResistanceUnit MILLIOHM
public static final ElectricalResistanceUnit KILOOHM
public static final ElectricalResistanceUnit MEGAOHM
public static final ElectricalResistanceUnit GIGAOHM
public static final ElectricalResistanceUnit ABOHM
public static final ElectricalResistanceUnit STATOHM
public ElectricalResistanceUnit(MassUnit massUnit, LengthUnit lengthUnit, ElectricalCurrentUnit electricalCurrentUnit, DurationUnit durationUnit, String name, String abbreviation, UnitSystem unitSystem)
massUnit
- MassUnit; the unit of mass for the electrical resistance unit, e.g., kilogramlengthUnit
- LengthUnit; the unit of length for the electrical resistance unit, e.g., meterelectricalCurrentUnit
- ElectricalCurrentUnit; the unit of electrical current for the electrical resistance unit,
e.g., AmperedurationUnit
- DurationUnit; the unit of time for the electrical resistance 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 ElectricalResistanceUnit(ElectricalPotentialUnit electricalPotentialUnit, ElectricalCurrentUnit electricalCurrentUnit, String name, String abbreviation, UnitSystem unitSystem)
electricalPotentialUnit
- ElectricalPotentialUnit; the unit of electrical potential difference for the electrical
resistance unit, e.g., VoltelectricalCurrentUnit
- ElectricalCurrentUnit; the unit of electrical current for the electrical resistance unit,
e.g., Amperename
- String; the long name of the unitabbreviation
- String; the abbreviation of the unitunitSystem
- UnitSystem; the unit system, e.g. SI or Imperialpublic ElectricalResistanceUnit(String name, String abbreviation, UnitSystem unitSystem, ElectricalResistanceUnit 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
- ElectricalResistanceUnit; 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 LengthUnit getLengthUnit()
public final ElectricalCurrentUnit getElectricalCurrentUnit()
public final DurationUnit getDurationUnit()
public final ElectricalResistanceUnit getStandardUnit()
getStandardUnit
in class Unit<ElectricalResistanceUnit>
public final String getSICoefficientsString()
getSICoefficientsString
in class Unit<ElectricalResistanceUnit>
Copyright © 2015–2019 Delft University of Technology. All rights reserved.