Class Unit
This class only support exponents for the base SI units in the range -64 to
+63. Any operation which produces an exponent outside of this range will
result in a Unit object with undefined exponents.
- Version:
- $Revision: 5715 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UnitThe electric current unit ampere (A)static final UnitThe electric charge unit coulomb (C).static final UnitThe luminous intensity unit candela (cd)static final UnitThe capacitance unit farad (F).static final UnitThe absorbed dose unit gray (Gy).static final UnitThe frequency unit hertz (Hz).static final UnitThe energy unit joule (J).static final UnitThe temperature unit kelvin (K)static final UnitThe catalytic activity unit katal (kat).static final UnitThe mass unit kilogram (kg)static final UnitThe illuminance unit lux (lx).static final UnitThe length unit meter (m)static final UnitThe speed unit meter per second (m/s)static final UnitThe acceleration unit meter per second squared (m/s 2 )static final UnitThe area unit square meter(m 2 )static final UnitThe volume unit cubic meter (m 3 )static final UnitThe amount of substance unit mole (mol)static final UnitThe force unit newton (N).static final UnitThe electric resistance unit ohm.static final UnitThe pressure unit pascal (Pa).static final UnitThe angle unit radians (rad)static final UnitThe time unit second (s)static final UnitThe electric conductance unit siemens (S).static final UnitThe magnetic flux density unit tesla (T).static final UnitNo Unit (Unity)static final UnitThe electric potential difference unit volt (V).static final UnitThe power unit watt (W).static final UnitThe magnetic flux unit weber (Wb). -
Method Summary
-
Field Details
-
unity
No Unit (Unity) -
m
The length unit meter (m) -
s
The time unit second (s) -
kg
The mass unit kilogram (kg) -
K
The temperature unit kelvin (K) -
A
The electric current unit ampere (A) -
mol
The amount of substance unit mole (mol) -
cd
The luminous intensity unit candela (cd) -
m_s
The speed unit meter per second (m/s) -
m_s2
The acceleration unit meter per second squared (m/s 2 ) -
m2
The area unit square meter(m 2 ) -
m3
The volume unit cubic meter (m 3 ) -
Hz
The frequency unit hertz (Hz).hertz is expressed in SI units as 1/s
-
N
The force unit newton (N).N is expressed in SI units as m·kg/s 2
-
Pa
The pressure unit pascal (Pa).Pa is equal to N/m 2 or is expressed in SI units as kg/m·s 2
-
J
The energy unit joule (J).joule is equal to N·m or is expressed in SI units as m 2 ·kg/s 2
-
W
The power unit watt (W).watt is equal to J/s or is expressed in SI units as m 2 ·kg/s 3
-
C
The electric charge unit coulomb (C).coulomb is expressed in SI units as s·A
-
V
The electric potential difference unit volt (V).volt is equal to W/A or is expressed in SI units as m 2 ·kg/s 3 ·A
-
F
The capacitance unit farad (F).farad is equal to C/V or is expressed in SI units as s 4 ·A 2 /m 2 ·kg
-
Ohm
The electric resistance unit ohm.ohm is equal to V/A or is expressed in SI units as m 2 ·kg/s 3 ·A 2
-
S
The electric conductance unit siemens (S).siemens is equal to A/V or is expressed in SI units as s 3 ·A 2 /m 2 ·kg
-
Wb
The magnetic flux unit weber (Wb).weber is equal to V·s or is expressed in SI units as m 2 ·kg/s 2 ·A
-
T
The magnetic flux density unit tesla (T).tesla is equal to Wb/m 2 or is expressed in SI units as kg/s 2 ·A
-
lx
The illuminance unit lux (lx).lux is expressed in SI units as cd/m 2
-
Gy
The absorbed dose unit gray (Gy).Gy is equal to J/kg or is expressed in SI units as m 2 /s 2
-
kat
The catalytic activity unit katal (kat).katal is expressed in SI units as mol/s
-
rad
The angle unit radians (rad)
-
-
Method Details
-
equals
Checks whether thisUnitobject is equal to the specifiedUnitobject. TheUnitobjects are considered equal if their exponents are equal. -
hashCode
-
toString
-