|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.measure.unit.SystemOfUnits
javax.measure.unit.NonSI
public final class NonSI
This class contains units that are not part of the International System of Units, that is, they are outside the SI, but are important and widely used.
| Nested Class Summary | |
|---|---|
static class |
NonSI.BinaryPrefix
Inner class holding binary prefixes. |
static class |
NonSI.IndianPrefix
Inner class holding prefixes used today in India, Pakistan, Bangladesh, Nepal and Myanmar (Burma); based on grouping by two decimal places, rather than the three decimal places common in most parts of the world. |
| Field Summary | |
|---|---|
static Unit<Length> |
ANGSTROM
A unit of length equal to 1E-10 m (standard name
Å). |
static Unit<Area> |
ARE
A unit of area equal to 100 m² (standard name a
). |
static Unit<Length> |
ASTRONOMICAL_UNIT
A unit of length equal to the average distance from the center of the Earth to the center of the Sun (standard name ua). |
static Unit<Pressure> |
ATMOSPHERE
A unit of pressure equal to the average pressure of the Earth's atmosphere at sea level (standard name atm). |
static Unit<AmountOfSubstance> |
ATOM
A unit of amount of substance equals to one atom (standard name atom). |
static Unit<Mass> |
ATOMIC_MASS
A unit of mass equal to 1/12 the mass of the carbon-12 atom (standard name u). |
static Unit<Pressure> |
BAR
A unit of pressure equal to 100 kPa (standard name
bar). |
static Unit<DataAmount> |
BYTE
A unit of data amount equal to 8 (BinarY TErm, standard name
byte). |
static Unit<Velocity> |
C
A unit of velocity relative to the speed of light (standard name c). |
static Unit<Angle> |
CENTIRADIAN
A unit of angle equal to 0.01 (standard name
centiradian). |
static Unit<Length> |
COMPUTER_POINT
Equivalent PIXEL |
static Unit<Volume> |
CUBIC_INCH
A unit of volume equal to one cubic inch ( in³). |
static Unit<RadioactiveActivity> |
CURIE
A unit of radioctive activity equal to the activity of a gram of radium (standard name Ci). |
static Unit<Duration> |
DAY
A unit of duration equal to 24 (standard name d). |
static Unit<Duration> |
DAY_SIDEREAL
A unit of duration equal to the time required for a complete rotation of the earth in reference to any star or to the vernal equinox at the meridian, equal to 23 hours, 56 minutes, 4.09 seconds (standard name day_sidereal). |
static Unit<Dimensionless> |
DECIBEL
A logarithmic unit used to describe a ratio (standard name dB). |
static Unit<Angle> |
DEGREE_ANGLE
A unit of angle equal to 1/360 (standard name °). |
static Unit<Force> |
DYNE
A unit of force equal to 1E-5 N (standard name
dyn). |
static Unit<ElectricCharge> |
E
A unit of electric charge equal to the charge on one electron (standard name e). |
static Unit<Mass> |
ELECTRON_MASS
A unit of mass equal to the mass of the electron (standard name me). |
static Unit<Energy> |
ELECTRON_VOLT
A unit of energy equal to one electron-volt (standard name eV, also recognized keV, MeV, GeV). |
static Unit<Energy> |
ERG
A unit of energy equal to 1E-7 J (standard name
erg). |
static Unit<Temperature> |
FAHRENHEIT
A unit of temperature equal to degree Rankine minus 459.67 °R (standard name °F). |
static Unit<ElectricCharge> |
FARADAY
A unit of electric charge equal to equal to the product of Avogadro's number (see SI.MOLE) and the charge (1 e) on a single electron
(standard name Fd). |
static Unit<Length> |
FOOT
A unit of length equal to 0.3048 m (standard name
ft). |
static Unit<Velocity> |
FOOT_PER_SECOND
A unit of velocity expressing the number of feet per
second. |
static Unit<Length> |
FOOT_SURVEY_US
A unit of length equal to 1200/3937 m (standard name
foot_survey_us). |
static Unit<ElectricCharge> |
FRANKLIN
A unit of electric charge which exerts a force of one dyne on an equal charge at a distance of one centimeter (standard name Fr). |
static Unit<Acceleration> |
G
A unit of acceleration equal to the gravity at the earth's surface (standard name grav). |
static Unit<Volume> |
GALLON_DRY_US
A unit of volume equal to one US dry gallon. |
static Unit<Volume> |
GALLON_LIQUID_US
A unit of volume equal to one US gallon, Liquid Unit. |
static Unit<Volume> |
GALLON_UK
A unit of volume equal to 4.546 09 (standard name gal_uk). |
static Unit<MagneticFluxDensity> |
GAUSS
A unit of magnetic flux density equal 1000 A/m (standard
name G). |
static Unit<ElectricCurrent> |
GILBERT
A unit of electric charge equal to the centimeter-gram-second electromagnetic unit of magnetomotive force, equal to 10/4
πampere-turn (standard name Gi). |
static Unit<Angle> |
GRADE
A unit of angle measure equal to 1/400 (standard name grade
). |
static Unit<Area> |
HECTARE
A unit of area equal to 100 (standard name ha). |
static Unit<Power> |
HORSEPOWER
A unit of power equal to the power required to raise a mass of 75 kilograms at a velocity of 1 meter per second (metric, standard name hp). |
static Unit<Duration> |
HOUR
A unit of duration equal to 60 (standard name h). |
static Unit<Length> |
INCH
A unit of length equal to 0.0254 m (standard name
in). |
static Unit<Pressure> |
INCH_OF_MERCURY
A unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 inch high (standard name inHg). |
static Unit<Force> |
KILOGRAM_FORCE
A unit of force equal to 9.80665 N (standard name
kgf). |
static Unit<Velocity> |
KILOMETERS_PER_HOUR
Equivalent to KILOMETRES_PER_HOUR. |
static Unit<Velocity> |
KILOMETRES_PER_HOUR
A unit of velocity expressing the number of SI.KILOMETRE per
hour. |
static Unit<Velocity> |
KNOT
A unit of velocity expressing the number of nautical miles per hour (abbreviation kn). |
static Unit<Illuminance> |
LAMBERT
A unit of illuminance equal to 1E4 Lx (standard name
La). |
static Unit<Length> |
LIGHT_YEAR
A unit of length equal to the distance that light travels in one year through a vacuum (standard name ly). |
static Unit<Volume> |
LITER
Equivalent to LITRE (American spelling). |
static Unit<Volume> |
LITRE
A unit of volume equal to one cubic decimeter (default label L, also recognized µL, mL, cL, dL). |
static Unit<MagneticFlux> |
MAXWELL
A unit of magnetic flux equal 1E-8 Wb (standard name
Mx). |
static Unit<Mass> |
METRIC_TON
A unit of mass equal to 1000 kg (metric ton, standard name
t). |
static Unit<Length> |
MILE
A unit of length equal to 1609.344 m (standard name
mi). |
static Unit<Velocity> |
MILES_PER_HOUR
A unit of velocity expressing the number of international miles per hour (abbreviation mph). |
static Unit<Pressure> |
MILLIMETER_OF_MERCURY
A unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 millimeter high (standard name mmHg
). |
static Unit<Duration> |
MINUTE
A unit of duration equal to 60 s (standard name
min). |
static Unit<Angle> |
MINUTE_ANGLE
A unit of angle equal to 1/60 (standard name ′). |
static Unit<Length> |
NAUTICAL_MILE
A unit of length equal to 1852.0 m (standard name
nmi). |
static Unit<DataAmount> |
OCTET
Equivalent BYTE |
static Unit<Mass> |
OUNCE
A unit of mass equal to 1 / 16 (standard name oz). |
static Unit<Volume> |
OUNCE_LIQUID_UK
A unit of volume equal to 1 / 160 (standard name
oz_fl_uk). |
static Unit<Volume> |
OUNCE_LIQUID_US
A unit of volume equal to 1 / 128 (standard name
oz_fl). |
static Unit<Length> |
PARSEC
A unit of length equal to the distance at which a star would appear to shift its position by one arcsecond over the course the time (about 3 months) in which the Earth moves a distance of ASTRONOMICAL_UNIT
in the direction perpendicular to the direction to the star (standard
name pc). |
static Unit<Dimensionless> |
PERCENT
A dimensionless unit equals to 0.01 (standard name
%). |
static Unit<Dimensionless> |
PI
A dimensionless unit equals to pi (standard name
π). |
static Unit<Length> |
PIXEL
A unit of length equal to 1/72 (standard name pixel). |
static Unit<Length> |
POINT
A unit of length equal to 0.013837 exactly (standard name
pt). |
static Unit<DynamicViscosity> |
POISE
A unit of dynamic viscosity equal to 1 g/(cm·s) (cgs unit). |
static Unit<Mass> |
POUND
A unit of mass equal to 453.59237 grams (avoirdupois pound,
standard name lb). |
static Unit<Force> |
POUND_FORCE
A unit of force equal to (standard name lbf). |
static Unit<RadiationDoseAbsorbed> |
RAD
A unit of radiation dose absorbed equal to a dose of 0.01 joule of energy per kilogram of mass (J/kg) (standard name rd). |
static Unit<Temperature> |
RANKINE
A unit of temperature equal to 5/9 °K (standard name
°R). |
static Unit<RadiationDoseEffective> |
REM
A unit of radiation dose effective equal to 0.01 Sv
(standard name rem). |
static Unit<Angle> |
REVOLUTION
A unit of angle equal to a full circle or 2π
(standard name rev). |
static Unit<?> |
ROENTGEN
A unit used to measure the ionizing ability of radiation (standard name Roentgen). |
static Unit<RadioactiveActivity> |
RUTHERFORD
A unit of radioctive activity equal to 1 million radioactive disintegrations per second (standard name Rd). |
static Unit<Angle> |
SECOND_ANGLE
A unit of angle equal to 1/60 (standard name "). |
static Unit<SolidAngle> |
SPHERE
A unit of solid angle equal to 4 π steradians
(standard name sphere). |
static Unit<KinematicViscosity> |
STOKE
A unit of kinematic viscosity equal to 1 cm²/s (cgs unit). |
static Unit<Mass> |
TON_UK
A unit of mass equal to 2240 (long ton, standard name
ton_uk). |
static Unit<Mass> |
TON_US
A unit of mass equal to 2000 (short ton, standard name
ton_us). |
static Unit<Duration> |
WEEK
A unit of duration equal to 7 DAY (standard name
week). |
static Unit<Length> |
YARD
A unit of length equal to 0.9144 m (standard name
yd). |
static Unit<Duration> |
YEAR_CALENDAR
A unit of duration equal to 365 DAY (standard name
year). |
static Unit<Duration> |
YEAR_JULIEN
The Julian year, as used in astronomy and other sciences, is a time unit defined as exactly 365.25 days. |
static Unit<Duration> |
YEAR_SIDEREAL
A unit of duration equal to one complete revolution of the earth about the sun, relative to the fixed stars, or 365 days, 6 hours, 9 minutes, 9.54 seconds (standard name year_sidereal). |
| Method Summary | |
|---|---|
static NonSI |
getInstance()
Returns the unique instance of this class. |
java.util.Set<Unit<?>> |
getUnits()
Returns a read only view over the units defined in this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Unit<Dimensionless> PI
pi (standard name
π).
public static final Unit<Dimensionless> PERCENT
0.01 (standard name
%).
public static final Unit<Dimensionless> DECIBEL
dB).
public static final Unit<AmountOfSubstance> ATOM
atom).
public static final Unit<Length> FOOT
0.3048 m (standard name
ft).
public static final Unit<Length> FOOT_SURVEY_US
1200/3937 m (standard name
foot_survey_us). See also: foot
public static final Unit<Length> YARD
0.9144 m (standard name
yd).
public static final Unit<Length> INCH
0.0254 m (standard name
in).
public static final Unit<Length> MILE
1609.344 m (standard name
mi).
public static final Unit<Length> NAUTICAL_MILE
1852.0 m (standard name
nmi).
public static final Unit<Length> ANGSTROM
1E-10 m (standard name
Å).
public static final Unit<Length> ASTRONOMICAL_UNIT
ua).
public static final Unit<Length> LIGHT_YEAR
ly).
public static final Unit<Length> PARSEC
ASTRONOMICAL_UNIT
in the direction perpendicular to the direction to the star (standard
name pc).
public static final Unit<Length> POINT
0.013837 INCH exactly (standard name
pt).
PIXELpublic static final Unit<Length> PIXEL
1/72 INCH (standard name pixel). It is
the American point rounded to an even 1/72 inch.
POINTpublic static final Unit<Length> COMPUTER_POINT
PIXEL
public static final Unit<Duration> MINUTE
60 s (standard name
min).
public static final Unit<Duration> HOUR
60 MINUTE (standard name h).
public static final Unit<Duration> DAY
24 HOUR (standard name d).
public static final Unit<Duration> DAY_SIDEREAL
day_sidereal).
public static final Unit<Duration> WEEK
DAY (standard name
week).
public static final Unit<Duration> YEAR_CALENDAR
DAY (standard name
year).
public static final Unit<Duration> YEAR_SIDEREAL
year_sidereal).
public static final Unit<Duration> YEAR_JULIEN
public static final Unit<Mass> ATOMIC_MASS
u).
public static final Unit<Mass> ELECTRON_MASS
me).
public static final Unit<Mass> POUND
453.59237 grams (avoirdupois pound,
standard name lb).
public static final Unit<Mass> OUNCE
1 / 16 POUND (standard name oz).
public static final Unit<Mass> TON_US
2000 POUND (short ton, standard name
ton_us).
public static final Unit<Mass> TON_UK
2240 POUND (long ton, standard name
ton_uk).
public static final Unit<Mass> METRIC_TON
1000 kg (metric ton, standard name
t).
public static final Unit<ElectricCharge> E
e).
public static final Unit<ElectricCharge> FARADAY
SI.MOLE) and the charge (1 e) on a single electron
(standard name Fd).
public static final Unit<ElectricCharge> FRANKLIN
Fr).
public static final Unit<Temperature> RANKINE
5/9 °K (standard name
°R).
public static final Unit<Temperature> FAHRENHEIT
459.67 °R (standard name °F).
RANKINEpublic static final Unit<Angle> REVOLUTION
2π
SI.RADIAN (standard name rev).
public static final Unit<Angle> DEGREE_ANGLE
1/360 REVOLUTION (standard name °).
public static final Unit<Angle> MINUTE_ANGLE
1/60 DEGREE_ANGLE (standard name ′).
public static final Unit<Angle> SECOND_ANGLE
1/60 MINUTE_ANGLE (standard name ").
public static final Unit<Angle> CENTIRADIAN
0.01 SI.RADIAN (standard name
centiradian).
public static final Unit<Angle> GRADE
1/400 REVOLUTION (standard name grade
).
public static final Unit<Velocity> FOOT_PER_SECOND
feet per
second.
public static final Unit<Velocity> MILES_PER_HOUR
miles per hour (abbreviation mph).
public static final Unit<Velocity> KILOMETRES_PER_HOUR
SI.KILOMETRE per
hour.
public static final Unit<Velocity> KILOMETERS_PER_HOUR
KILOMETRES_PER_HOUR.
public static final Unit<Velocity> KNOT
nautical miles per hour (abbreviation kn).
public static final Unit<Velocity> C
c).
public static final Unit<Acceleration> G
grav).
public static final Unit<Area> ARE
100 m² (standard name a
).
public static final Unit<Area> HECTARE
100 ARE (standard name ha).
public static final Unit<DataAmount> BYTE
8 SI.BIT (BinarY TErm, standard name
byte).
public static final Unit<DataAmount> OCTET
BYTE
public static final Unit<ElectricCurrent> GILBERT
10/4
πampere-turn (standard name Gi).
public static final Unit<Energy> ERG
1E-7 J (standard name
erg).
public static final Unit<Energy> ELECTRON_VOLT
eV, also recognized keV, MeV, GeV).
public static final Unit<Illuminance> LAMBERT
1E4 Lx (standard name
La).
public static final Unit<MagneticFlux> MAXWELL
1E-8 Wb (standard name
Mx).
public static final Unit<MagneticFluxDensity> GAUSS
1000 A/m (standard
name G).
public static final Unit<Force> DYNE
1E-5 N (standard name
dyn).
public static final Unit<Force> KILOGRAM_FORCE
9.80665 N (standard name
kgf).
public static final Unit<Force> POUND_FORCE
POUND·G (standard name lbf).
public static final Unit<Power> HORSEPOWER
hp).
public static final Unit<Pressure> ATMOSPHERE
atm).
public static final Unit<Pressure> BAR
100 kPa (standard name
bar).
public static final Unit<Pressure> MILLIMETER_OF_MERCURY
mmHg
).
public static final Unit<Pressure> INCH_OF_MERCURY
inHg).
public static final Unit<RadiationDoseAbsorbed> RAD
rd).
public static final Unit<RadiationDoseEffective> REM
0.01 Sv
(standard name rem).
public static final Unit<RadioactiveActivity> CURIE
Ci).
public static final Unit<RadioactiveActivity> RUTHERFORD
Rd).
public static final Unit<SolidAngle> SPHERE
4 π steradians
(standard name sphere).
public static final Unit<Volume> LITRE
L, also recognized µL, mL, cL, dL).
public static final Unit<Volume> LITER
LITRE (American spelling).
public static final Unit<Volume> CUBIC_INCH
in³).
public static final Unit<Volume> GALLON_LIQUID_US
gal).
public static final Unit<Volume> OUNCE_LIQUID_US
1 / 128 GALLON_LIQUID_US (standard name
oz_fl).
public static final Unit<Volume> GALLON_DRY_US
gallon_dry_us).
public static final Unit<Volume> GALLON_UK
4.546 09 LITRE (standard name gal_uk).
public static final Unit<Volume> OUNCE_LIQUID_UK
1 / 160 GALLON_UK (standard name
oz_fl_uk).
public static final Unit<DynamicViscosity> POISE
1 g/(cm·s) (cgs unit).
public static final Unit<KinematicViscosity> STOKE
1 cm²/s (cgs unit).
public static final Unit<?> ROENTGEN
Roentgen).
| Method Detail |
|---|
public static NonSI getInstance()
public java.util.Set<Unit<?>> getUnits()
getUnits in class SystemOfUnits
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||