|
OSGi™ Service Platform Release 4 Version 4.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.osgi.util.measurement.Unit
A unit system for measurements. This class contains definitions of the most common SI units.
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.
Field Summary | |
static Unit |
A
The electric current unit ampere (A) |
static Unit |
C
The electric charge unit coulomb (C). |
static Unit |
cd
The luminous intensity unit candela (cd) |
static Unit |
F
The capacitance unit farad (F). |
static Unit |
Gy
The absorbed dose unit gray (Gy). |
static Unit |
Hz
The frequency unit hertz (Hz). |
static Unit |
J
The energy unit joule (J). |
static Unit |
K
The temperature unit kelvin (K) |
static Unit |
kat
The catalytic activity unit katal (kat). |
static Unit |
kg
The mass unit kilogram (kg) |
static Unit |
lx
The illuminance unit lux (lx). |
static Unit |
m
The length unit meter (m) |
static Unit |
m_s
The speed unit meter per second (m/s) |
static Unit |
m_s2
The acceleration unit meter per second squared (m/s 2 ) |
static Unit |
m2
The area unit square meter(m 2 ) |
static Unit |
m3
The volume unit cubic meter (m 3 ) |
static Unit |
mol
The amount of substance unit mole (mol) |
static Unit |
N
The force unit newton (N). |
static Unit |
Ohm
The electric resistance unit ohm. |
static Unit |
Pa
The pressure unit pascal (Pa). |
static Unit |
rad
The angle unit radians (rad) |
static Unit |
s
The time unit second (s) |
static Unit |
S
The electric conductance unit siemens (S). |
static Unit |
T
The magnetic flux density unit tesla (T). |
static Unit |
unity
No Unit (Unity) |
static Unit |
V
The electric potential difference unit volt (V). |
static Unit |
W
The power unit watt (W). |
static Unit |
Wb
The magnetic flux unit weber (Wb). |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks whether this Unit object is equal to the specified
Unit object. |
int |
hashCode()
Returns the hash code for this object. |
java.lang.String |
toString()
Returns a String object representing the Unit |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Unit unity
public static final Unit m
public static final Unit s
public static final Unit kg
public static final Unit K
public static final Unit A
public static final Unit mol
public static final Unit cd
public static final Unit m_s
public static final Unit m_s2
public static final Unit m2
public static final Unit m3
public static final Unit Hz
hertz is expressed in SI units as 1/s
public static final Unit N
N is expressed in SI units as m·kg/s 2
public static final Unit Pa
Pa is equal to N/m 2 or is expressed in SI units as kg/m·s 2
public static final Unit J
joule is equal to N·m or is expressed in SI units as m 2
·kg/s 2
public static final Unit W
watt is equal to J/s or is expressed in SI units as m 2 ·kg/s 3
public static final Unit C
coulomb is expressed in SI units as s·A
public static final Unit V
volt is equal to W/A or is expressed in SI units as m 2 ·kg/s 3 ·A
public static final Unit F
farad is equal to C/V or is expressed in SI units as s 4 ·A 2 /m 2 ·kg
public static final Unit Ohm
ohm is equal to V/A or is expressed in SI units as m 2 ·kg/s 3 ·A 2
public static final Unit S
siemens is equal to A/V or is expressed in SI units as s 3 ·A 2 /m 2 ·kg
public static final Unit Wb
weber is equal to V·s or is expressed in SI units as m 2 ·kg/s 2 ·A
public static final Unit T
tesla is equal to Wb/m 2 or is expressed in SI units as kg/s 2 ·A
public static final Unit lx
lux is expressed in SI units as cd/m 2
public static final Unit Gy
Gy is equal to J/kg or is expressed in SI units as m 2 /s 2
public static final Unit kat
katal is expressed in SI units as mol/s
public static final Unit rad
Method Detail |
public boolean equals(java.lang.Object obj)
Unit
object is equal to the specified
Unit
object. The Unit
objects are considered equal
if their exponents are equal.
obj
- the Unit
object that should be checked for equality
Unit
object is equal to this
Unit
object.public int hashCode()
public java.lang.String toString()
String
object representing the Unit
String
object representing the Unit
|
OSGi™ Service Platform Release 4 Version 4.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |