javax.measure.unit
public final class SI extends SystemOfUnits
import static javax.measure.unit.SI.*; ... Unit<Pressure> HECTO_PASCAL = HECTO(PASCAL); Unit<Length> KILO_METER = KILO(METER);
Modifier and Type | Field and Description |
---|---|
static BaseUnit<ElectricCurrent> |
AMPERE
The base unit for electric current quantities (
A ). |
static AlternateUnit<RadioactiveActivity> |
BECQUEREL
The derived unit for activity of a radionuclide (
Bq ). |
static AlternateUnit<DataAmount> |
BIT
The unit for binary information (
bit ). |
static BaseUnit<LuminousIntensity> |
CANDELA
The base unit for luminous intensity quantities (
cd ). |
static Unit<Temperature> |
CELSIUS
The derived unit for Celsius temperature (
℃ ). |
static Unit<Length> |
CENTIMETER
Equivalent to
CENTIMETRE . |
static Unit<Length> |
CENTIMETRE
Equivalent to
CENTI(METRE) . |
static AlternateUnit<ElectricCharge> |
COULOMB
The derived unit for electric charge, quantity of electricity (
C ). |
static Unit<Volume> |
CUBIC_METRE
The metric unit for volume quantities (
m³ ). |
static AlternateUnit<ElectricCapacitance> |
FARAD
The derived unit for capacitance (
F ). |
static Unit<Mass> |
GRAM
The derived unit for mass quantities (
g ). |
static AlternateUnit<RadiationDoseAbsorbed> |
GRAY
The derived unit for absorbed dose, specific energy (imparted), kerma (
Gy ). |
static AlternateUnit<ElectricInductance> |
HENRY
The derived unit for inductance (
H ). |
static AlternateUnit<Frequency> |
HERTZ
The derived unit for frequency (
Hz ). |
static AlternateUnit<Energy> |
JOULE
The derived unit for energy, work, quantity of heat (
J ). |
static AlternateUnit<CatalyticActivity> |
KATAL
The derived unit for catalytic activity (
kat ). |
static BaseUnit<Temperature> |
KELVIN
The base unit for thermodynamic temperature quantities (
K ). |
static BaseUnit<Mass> |
KILOGRAM
The base unit for mass quantities (
kg ). |
static Unit<Length> |
KILOMETER
Equivalent to
KILOMETRE . |
static Unit<Length> |
KILOMETRE
Equivalent to
KILO(METRE) . |
static AlternateUnit<LuminousFlux> |
LUMEN
The derived unit for luminous flux (
lm ). |
static AlternateUnit<Illuminance> |
LUX
The derived unit for illuminance (
lx ). |
static Unit<Length> |
METER
Equivalent to
METRE (American spelling). |
static Unit<Velocity> |
METERS_PER_SECOND
Equivalent to
METRES_PER_SECOND . |
static Unit<Acceleration> |
METERS_PER_SQUARE_SECOND
Equivalent to
METRES_PER_SQUARE_SECOND . |
static BaseUnit<Length> |
METRE
The base unit for length quantities (
m ). |
static Unit<Velocity> |
METRE_PER_SECOND
Deprecated.
replaced by
METRES_PER_SECOND . |
static Unit<Acceleration> |
METRE_PER_SQUARE_SECOND
Deprecated.
replaced by
METRES_PER_SQUARE_SECOND . |
static Unit<Velocity> |
METRES_PER_SECOND
The metric unit for velocity quantities (
m/s ). |
static Unit<Acceleration> |
METRES_PER_SQUARE_SECOND
The metric unit for acceleration quantities (
m/s² ). |
static Unit<Length> |
MILLIMETER
Equivalent to
MILLIMETRE . |
static Unit<Length> |
MILLIMETRE
Equivalent to
MILLI(METRE) . |
static BaseUnit<AmountOfSubstance> |
MOLE
The base unit for amount of substance quantities (
mol ). |
static AlternateUnit<Force> |
NEWTON
The derived unit for force (
N ). |
static AlternateUnit<ElectricResistance> |
OHM
The derived unit for electric resistance (
Ω or Ohm ). |
static AlternateUnit<Pressure> |
PASCAL
The derived unit for pressure, stress (
Pa ). |
static AlternateUnit<Angle> |
RADIAN
The unit for plane angle quantities (
rad ). |
static BaseUnit<Duration> |
SECOND
The base unit for duration quantities (
s ). |
static AlternateUnit<ElectricConductance> |
SIEMENS
The derived unit for electric conductance (
S ). |
static AlternateUnit<RadiationDoseEffective> |
SIEVERT
The derived unit for dose equivalent (
Sv ). |
static Unit<Area> |
SQUARE_METRE
The metric unit for area quantities (
m² ). |
static AlternateUnit<SolidAngle> |
STERADIAN
The unit for solid angle quantities (
sr ). |
static AlternateUnit<MagneticFluxDensity> |
TESLA
The derived unit for magnetic flux density (
T ). |
static AlternateUnit<ElectricPotential> |
VOLT
The derived unit for electric potential difference, electromotive force (
V ). |
static AlternateUnit<Power> |
WATT
The derived unit for power, radiant, flux (
W ). |
static AlternateUnit<MagneticFlux> |
WEBER
The derived unit for magnetic flux (
Wb ). |
Modifier and Type | Method and Description |
---|---|
static <Q extends Quantity> |
ATTO(Unit<Q> unit)
Returns the specified unit multiplied by the factor
10-18 |
static <Q extends Quantity> |
CENTI(Unit<Q> unit)
Returns the specified unit multiplied by the factor
10-2 |
static <Q extends Quantity> |
DECI(Unit<Q> unit)
Returns the specified unit multiplied by the factor
10-1 |
static <Q extends Quantity> |
DEKA(Unit<Q> unit)
Returns the specified unit multiplied by the factor
101 |
static <Q extends Quantity> |
EXA(Unit<Q> unit)
Returns the specified unit multiplied by the factor
1018 |
static <Q extends Quantity> |
FEMTO(Unit<Q> unit)
Returns the specified unit multiplied by the factor
10-15 |
static SI |
getInstance()
Returns the unique instance of this class.
|
java.util.Set<Unit<?>> |
getUnits()
Returns a read only view over theunits defined in this class.
|
static <Q extends Quantity> |
GIGA(Unit<Q> unit)
Returns the specified unit multiplied by the factor
109 |
static <Q extends Quantity> |
HECTO(Unit<Q> unit)
Returns the specified unit multiplied by the factor
102 |
static <Q extends Quantity> |
KILO(Unit<Q> unit)
Returns the specified unit multiplied by the factor
103 |
static <Q extends Quantity> |
MEGA(Unit<Q> unit)
Returns the specified unit multiplied by the factor
106 |
static <Q extends Quantity> |
MICRO(Unit<Q> unit)
Returns the specified unit multiplied by the factor
10-6 |
static <Q extends Quantity> |
MILLI(Unit<Q> unit)
Returns the specified unit multiplied by the factor
10-3 |
static <Q extends Quantity> |
NANO(Unit<Q> unit)
Returns the specified unit multiplied by the factor
10-9 |
static <Q extends Quantity> |
PETA(Unit<Q> unit)
Returns the specified unit multiplied by the factor
1015 |
static <Q extends Quantity> |
PICO(Unit<Q> unit)
Returns the specified unit multiplied by the factor
10-12 |
static <Q extends Quantity> |
TERA(Unit<Q> unit)
Returns the specified unit multiplied by the factor
1012 |
static <Q extends Quantity> |
YOCTO(Unit<Q> unit)
Returns the specified unit multiplied by the factor
10-24 |
static <Q extends Quantity> |
YOTTA(Unit<Q> unit)
Returns the specified unit multiplied by the factor
1024 |
static <Q extends Quantity> |
ZEPTO(Unit<Q> unit)
Returns the specified unit multiplied by the factor
10-21 |
static <Q extends Quantity> |
ZETTA(Unit<Q> unit)
Returns the specified unit multiplied by the factor
1021 |
public static final BaseUnit<ElectricCurrent> AMPERE
A
). The Ampere is that constant current which, if
maintained in two straight parallel conductors of infinite length, of negligible circular cross-section, and
placed 1 metre apart in vacuum, would produce between these conductors a force equal to 2 × 10-7 newton per metre
of length. It is named after the French physicist Andre Ampere (1775-1836).public static final BaseUnit<LuminousIntensity> CANDELA
cd
). The candela is the luminous intensity, in a
given direction, of a source that emits monochromatic radiation of frequency 540 × 1012 hertz and that has a
radiant intensity in that direction of 1/683 watt per steradianpublic static final BaseUnit<Temperature> KELVIN
K
). The kelvin is the 1/273.16th of the
thermodynamic temperature of the triple point of water. It is named after the Scottish mathematician and
physicist William Thomson 1st Lord Kelvin (1824-1907)public static final BaseUnit<Mass> KILOGRAM
kg
). It is the only SI unit with a prefix as part of its name and
symbol. The kilogram is equal to the mass of an international prototype in the form of a platinum-iridium
cylinder kept at Sevres in France.GRAM
public static final BaseUnit<Length> METRE
m
). One meter was redefined in 1983 as the distance traveled by
light in a vacuum in 1/299,792,458 of a second.public static final BaseUnit<AmountOfSubstance> MOLE
mol
). The mole is the amount of substance of a
system which contains as many elementary entities as there are atoms in 0.012 kilogram of carbon 12.public static final BaseUnit<Duration> SECOND
s
). It is defined as the duration of 9,192,631,770 cycles of
radiation corresponding to the transition between two hyperfine levels of the ground state of cesium (1967
Standard).public static final Unit<Mass> GRAM
g
). The base unit for mass quantity is KILOGRAM
.public static final AlternateUnit<Angle> RADIAN
rad
). One radian is the angle between two radii of a circle
such that the length of the arc between them is equal to the radius.public static final AlternateUnit<SolidAngle> STERADIAN
sr
). One steradian is the solid angle subtended at the center
of a sphere by an area on the surface of the sphere that is equal to the radius squared. The total solid angle of
a sphere is 4*Pi steradians.public static final AlternateUnit<DataAmount> BIT
bit
).public static final AlternateUnit<Frequency> HERTZ
Hz
). A unit of frequency equal to one cycle per second. After
Heinrich Rudolf Hertz (1857-1894), German physicist who was the first to produce radio waves artificially.public static final AlternateUnit<Force> NEWTON
N
). One newton is the force required to give a mass of 1 kilogram an
Force of 1 metre per second per second. It is named after the English mathematician and physicist Sir Isaac
Newton (1642-1727).public static final AlternateUnit<Pressure> PASCAL
Pa
). One pascal is equal to one newton per square meter. It
is named after the French philosopher and mathematician Blaise Pascal (1623-1662).public static final AlternateUnit<Energy> JOULE
J
). One joule is the amount of work done when
an applied force of 1 newton moves through a distance of 1 metre in the direction of the force. It is named after
the English physicist James Prescott Joule (1818-1889).public static final AlternateUnit<Power> WATT
W
). One watt is equal to one joule per second. It is
named after the British scientist James Watt (1736-1819).public static final AlternateUnit<ElectricCharge> COULOMB
C
). One Coulomb is equal to the
quantity of charge transferred in one second by a steady current of one ampere. It is named after the French
physicist Charles Augustin de Coulomb (1736-1806).public static final AlternateUnit<ElectricPotential> VOLT
V
). One Volt is equal to
the difference of electric potential between two points on a conducting wire carrying a constant current of one
ampere when the power dissipated between the points is one watt. It is named after the Italian physicist Count
Alessandro Volta (1745-1827).public static final AlternateUnit<ElectricCapacitance> FARAD
F
). One Farad is equal to the capacitance of a capacitor having an
equal and opposite charge of 1 coulomb on each plate and a potential difference of 1 volt between the plates. It
is named after the British physicist and chemist Michael Faraday (1791-1867).public static final AlternateUnit<ElectricResistance> OHM
Ω
or Ohm
). One Ohm is equal to the resistance
of a conductor in which a current of one ampere is produced by a potential of one volt across its terminals. It
is named after the German physicist Georg Simon Ohm (1789-1854).public static final AlternateUnit<ElectricConductance> SIEMENS
S
). One Siemens is equal to one ampere per volt. It is
named after the German engineer Ernst Werner von Siemens (1816-1892).public static final AlternateUnit<MagneticFlux> WEBER
Wb
). One Weber is equal to the magnetic flux that in linking a
circuit of one turn produces in it an electromotive force of one volt as it is uniformly reduced to zero within
one second. It is named after the German physicist Wilhelm Eduard Weber (1804-1891).public static final AlternateUnit<MagneticFluxDensity> TESLA
T
). One Tesla is equal equal to one weber per square
meter. It is named after the Serbian-born American electrical engineer and physicist Nikola Tesla (1856-1943).public static final AlternateUnit<ElectricInductance> HENRY
H
). One Henry is equal to the inductance for which an induced
electromotive force of one volt is produced when the current is varied at the rate of one ampere per second. It
is named after the American physicist Joseph Henry (1791-1878).public static final Unit<Temperature> CELSIUS
℃
). This is a unit of temperature such as the freezing
point of water (at one atmosphere of pressure) is 0 ℃, while the boiling point is 100 ℃.public static final AlternateUnit<LuminousFlux> LUMEN
lm
). One Lumen is equal to the amount of light given out through
a solid angle by a source of one candela intensity radiating equally in all directions.public static final AlternateUnit<Illuminance> LUX
lx
). One Lux is equal to one lumen per square meter.public static final AlternateUnit<RadioactiveActivity> BECQUEREL
Bq
). One becquerel is the radiation caused by one
disintegration per second. It is named after the French physicist, Antoine-Henri Becquerel (1852-1908).public static final AlternateUnit<RadiationDoseAbsorbed> GRAY
Gy
). One gray is equal to the
dose of one joule of energy absorbed per one kilogram of matter. It is named after the British physician L. H.
Gray (1905-1965).public static final AlternateUnit<RadiationDoseEffective> SIEVERT
Sv
). One Sievert is equal is equal to the actual dose, in
grays, multiplied by a "quality factor" which is larger for more dangerous forms of radiation. It is named after
the Swedish physicist Rolf Sievert (1898-1966).public static final AlternateUnit<CatalyticActivity> KATAL
kat
).public static final Unit<Velocity> METRES_PER_SECOND
m/s
).public static final Unit<Velocity> METERS_PER_SECOND
METRES_PER_SECOND
.public static final Unit<Acceleration> METRES_PER_SQUARE_SECOND
m/s²
).public static final Unit<Acceleration> METERS_PER_SQUARE_SECOND
METRES_PER_SQUARE_SECOND
.public static final Unit<Volume> CUBIC_METRE
m³
).public static final Unit<Length> CENTIMETER
CENTIMETRE
.public static final Unit<Length> MILLIMETER
MILLIMETRE
.@Deprecated public static final Unit<Velocity> METRE_PER_SECOND
METRES_PER_SECOND
.@Deprecated public static final Unit<Acceleration> METRE_PER_SQUARE_SECOND
METRES_PER_SQUARE_SECOND
.public static SI getInstance()
public static <Q extends Quantity> Unit<Q> YOTTA(Unit<Q> unit)
1024
unit
- any unit.unit.multiply(1e24)
.public static <Q extends Quantity> Unit<Q> ZETTA(Unit<Q> unit)
1021
unit
- any unit.unit.multiply(1e21)
.public static <Q extends Quantity> Unit<Q> EXA(Unit<Q> unit)
1018
unit
- any unit.unit.multiply(1e18)
.public static <Q extends Quantity> Unit<Q> PETA(Unit<Q> unit)
1015
unit
- any unit.unit.multiply(1e15)
.public static <Q extends Quantity> Unit<Q> TERA(Unit<Q> unit)
1012
unit
- any unit.unit.multiply(1e12)
.public static <Q extends Quantity> Unit<Q> GIGA(Unit<Q> unit)
109
unit
- any unit.unit.multiply(1e9)
.public static <Q extends Quantity> Unit<Q> MEGA(Unit<Q> unit)
106
unit
- any unit.unit.multiply(1e6)
.public static <Q extends Quantity> Unit<Q> KILO(Unit<Q> unit)
103
unit
- any unit.unit.multiply(1e3)
.public static <Q extends Quantity> Unit<Q> HECTO(Unit<Q> unit)
102
unit
- any unit.unit.multiply(1e2)
.public static <Q extends Quantity> Unit<Q> DEKA(Unit<Q> unit)
101
unit
- any unit.unit.multiply(1e1)
.public static <Q extends Quantity> Unit<Q> DECI(Unit<Q> unit)
10-1
unit
- any unit.unit.multiply(1e-1)
.public static <Q extends Quantity> Unit<Q> CENTI(Unit<Q> unit)
10-2
unit
- any unit.unit.multiply(1e-2)
.public static <Q extends Quantity> Unit<Q> MILLI(Unit<Q> unit)
10-3
unit
- any unit.unit.multiply(1e-3)
.public static <Q extends Quantity> Unit<Q> MICRO(Unit<Q> unit)
10-6
unit
- any unit.unit.multiply(1e-6)
.public static <Q extends Quantity> Unit<Q> NANO(Unit<Q> unit)
10-9
unit
- any unit.unit.multiply(1e-9)
.public static <Q extends Quantity> Unit<Q> PICO(Unit<Q> unit)
10-12
unit
- any unit.unit.multiply(1e-12)
.public static <Q extends Quantity> Unit<Q> FEMTO(Unit<Q> unit)
10-15
unit
- any unit.unit.multiply(1e-15)
.public static <Q extends Quantity> Unit<Q> ATTO(Unit<Q> unit)
10-18
unit
- any unit.unit.multiply(1e-18)
.public static <Q extends Quantity> Unit<Q> ZEPTO(Unit<Q> unit)
10-21
unit
- any unit.unit.multiply(1e-21)
.public static <Q extends Quantity> Unit<Q> YOCTO(Unit<Q> unit)
10-24
unit
- any unit.unit.multiply(1e-24)
.public java.util.Set<Unit<?>> getUnits()
getUnits
in class SystemOfUnits