final class NonSI
extends tec.uom.se.AbstractSystemOfUnits
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.
This is an internal collection of otherwise unassigned units used by UCUM or similar systems.
This class is not intended to be implemented by clients.
Modifier and Type | Field and Description |
---|---|
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
ANGSTROM
Deprecated.
A unit of length equal to
1E-10 m (standard name
Ångström ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Area> |
ARE
Deprecated.
A unit of area equal to
100 m² (standard name a
). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
ASTRONOMICAL_UNIT
Deprecated.
A unit of length equal to the average distance from the center of the
Earth to the center of the Sun (standard name
ua ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Pressure> |
ATMOSPHERE
Deprecated.
A unit of pressure equal to the average pressure of the Earth's
atmosphere at sea level (standard name
atm ). |
(package private) static javax.measure.Unit<javax.measure.quantity.AmountOfSubstance> |
ATOM
Deprecated.
A unit of amount of substance equals to one atom (standard name
atom ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Mass> |
ATOMIC_MASS
Deprecated.
A unit of mass equal to 1/12 the mass of the carbon-12 atom (standard
name
u ). |
private static double |
AVOGADRO_CONSTANT
Deprecated.
Holds the Avogadro constant.
|
static int |
AVOIRDUPOIS_POUND_DIVIDEND
Deprecated.
Holds the avoirdupois pound: 0.45359237 kg exact
|
static int |
AVOIRDUPOIS_POUND_DIVISOR
Deprecated.
|
(package private) static javax.measure.Unit<javax.measure.quantity.Pressure> |
BAR
Deprecated.
A unit of pressure equal to
100 kPa (standard name
bar ). |
static javax.measure.Unit<Information> |
BIT
Deprecated.
The unit for binary information (standard name
bit ). |
static tec.uom.se.unit.ProductUnit<InformationRate> |
BITS_PER_SECOND
Deprecated.
see https://java.net/jira/browse/UNITSOFMEASUREMENT-100
|
static javax.measure.Unit<Information> |
BYTE
Deprecated.
A unit of data amount equal to
8 (BinarY
TErm, standard name byte ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Speed> |
C
Deprecated.
A unit of velocity relative to the speed of light (standard name
c ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
COMPUTER_POINT
Deprecated.
Equivalent
PIXEL |
(package private) static javax.measure.Unit<javax.measure.quantity.Radioactivity> |
CURIE
Deprecated.
A unit of radioctive activity equal to the activity of a gram of radium
(standard name
Ci ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Time> |
DAY_SIDEREAL
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Dimensionless> |
DECIBEL
Deprecated.
A logarithmic unit used to describe a ratio (standard name
dB ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Force> |
DYNE
Deprecated.
A unit of force equal to
1E-5 N (standard name
dyn ). |
(package private) static javax.measure.Unit<javax.measure.quantity.ElectricCharge> |
E
Deprecated.
A unit of electric charge equal to the charge on one electron (standard
name
e ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Mass> |
ELECTRON_MASS
Deprecated.
A unit of mass equal to the mass of the electron (standard name
me ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Energy> |
ELECTRON_VOLT
Deprecated.
A unit of energy equal to one electron-volt (standard name
eV , also recognized keV, MeV, GeV ). |
private static double |
ELEMENTARY_CHARGE
Deprecated.
Holds the electric charge of one electron.
|
(package private) static javax.measure.Unit<javax.measure.quantity.Energy> |
ERG
Deprecated.
A unit of energy equal to
1E-7 J (standard name
erg ). |
(package private) static javax.measure.Unit<javax.measure.quantity.ElectricCharge> |
FARADAY
Deprecated.
A unit of electric charge equal to equal to the product of Avogadro's
number (see
Units.MOLE ) and the charge (1 e) on a single electron
(standard name Fd ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
FOOT
Deprecated.
A unit of length equal to
0.3048 m (standard name
ft ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Frequency> |
FRAMES_PER_SECOND
Deprecated.
A unit used to measure the frequency (rate) at which an imaging device
produces unique consecutive images (standard name
fps ). |
(package private) static javax.measure.Unit<javax.measure.quantity.ElectricCharge> |
FRANKLIN
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Acceleration> |
G
Deprecated.
A unit of acceleration equal to the gravity at the earth's surface
(standard name
grav ). |
(package private) static javax.measure.Unit<javax.measure.quantity.MagneticFluxDensity> |
GAUSS
Deprecated.
A unit of magnetic flux density equal
1000 A/m (standard
name G ). |
(package private) static javax.measure.Unit<javax.measure.quantity.ElectricCurrent> |
GILBERT
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Power> |
HORSEPOWER
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
INCH
Deprecated.
A unit of length equal to
0.0254 m (standard name
in ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Pressure> |
INCH_OF_MERCURY
Deprecated.
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 ). |
private static NonSI |
INSTANCE
Deprecated.
|
(package private) static javax.measure.Unit<javax.measure.quantity.Force> |
KILOGRAM_FORCE
Deprecated.
A unit of force equal to
9.80665 N (standard name
kgf ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Illuminance> |
LAMBERT
Deprecated.
A unit of illuminance equal to
1E4 Lx (standard name
La ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
LIGHT_YEAR
Deprecated.
A unit of length equal to the distance that light travels in one year
through a vacuum (standard name
ly ). |
(package private) static javax.measure.Unit<javax.measure.quantity.MagneticFlux> |
MAXWELL
Deprecated.
A unit of magnetic flux equal
1E-8 Wb (standard name
Mx ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Pressure> |
MILLIMETRE_OF_MERCURY
Deprecated.
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
). |
(package private) static javax.measure.Unit<Information> |
OCTET
Deprecated.
Equivalent
BYTE |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
PARSEC
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Dimensionless> |
PERCENT
Deprecated.
A dimensionless unit equals to
0.01 (standard name
% ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Dimensionless> |
PI
Deprecated.
A dimensionless unit equals to
pi (standard name
Ï€ ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
PIXEL
Deprecated.
A unit of length equal to
1/72 (standard name
pixel ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Length> |
POINT
Deprecated.
A unit of length equal to
0.013837 exactly
(standard name pt ). |
(package private) static javax.measure.Unit<si.uom.quantity.DynamicViscosity> |
POISE
Deprecated.
A unit of dynamic viscosity equal to
1 g/(cm·s) (cgs unit). |
(package private) static javax.measure.Unit<javax.measure.quantity.Mass> |
POUND
Deprecated.
A unit of mass equal to
453.59237 grams (avoirdupois pound,
standard name lb ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Force> |
POUND_FORCE
Deprecated.
|
(package private) static javax.measure.Unit<javax.measure.quantity.RadiationDoseAbsorbed> |
RAD
Deprecated.
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 ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Temperature> |
RANKINE
Deprecated.
A unit of temperature equal to
5/9 °K (standard name
°R ). |
(package private) static javax.measure.Unit<javax.measure.quantity.RadiationDoseEffective> |
REM
Deprecated.
A unit of radiation dose effective equal to
0.01 Sv
(standard name rem ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Angle> |
REVOLUTION
Deprecated.
A unit of angle equal to a full circle or
2π
(standard name rev ). |
(package private) static javax.measure.Unit<javax.measure.quantity.Radioactivity> |
RUTHERFORD
Deprecated.
A unit of radioctive activity equal to 1 million radioactive
disintegrations per second (standard name
Rd ). |
(package private) static javax.measure.Unit<javax.measure.quantity.SolidAngle> |
SPHERE
Deprecated.
A unit of solid angle equal to
4 π steradians
(standard name sphere ). |
private static int |
STANDARD_GRAVITY_DIVIDEND
Deprecated.
Holds the standard gravity constant: 9.80665 m/s² exact.
|
private static int |
STANDARD_GRAVITY_DIVISOR
Deprecated.
|
(package private) static javax.measure.Unit<si.uom.quantity.KinematicViscosity> |
STOKE
Deprecated.
A unit of kinematic viscosity equal to
1 cm²/s (cgs unit). |
(package private) static javax.measure.Unit<javax.measure.quantity.Time> |
YEAR_JULIEN
Deprecated.
The Julian year, as used in astronomy and other sciences, is a time unit
defined as exactly 365.25 days.
|
(package private) static javax.measure.Unit<javax.measure.quantity.Time> |
YEAR_SIDEREAL
Deprecated.
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 ). |
Modifier | Constructor and Description |
---|---|
private |
NonSI()
Deprecated.
Default constructor (prevents this class from being instantiated).
|
Modifier and Type | Method and Description |
---|---|
private static <U extends javax.measure.Unit<?>> |
addUnit(U unit)
Deprecated.
Adds a new unit not mapped to any specified quantity type.
|
private static <U extends tec.uom.se.AbstractUnit<?>> |
addUnit(U unit,
java.lang.Class<? extends javax.measure.Quantity<?>> type)
Deprecated.
Adds a new unit and maps it to the specified quantity type.
|
(package private) static NonSI |
getInstance()
Deprecated.
Returns the unique instance of this class.
|
java.lang.String |
getName()
Deprecated.
|
private static final int STANDARD_GRAVITY_DIVIDEND
private static final int STANDARD_GRAVITY_DIVISOR
public static final int AVOIRDUPOIS_POUND_DIVIDEND
public static final int AVOIRDUPOIS_POUND_DIVISOR
private static final double AVOGADRO_CONSTANT
private static final double ELEMENTARY_CHARGE
private static final NonSI INSTANCE
static final javax.measure.Unit<javax.measure.quantity.Dimensionless> PI
pi
(standard name
Ï€
).static final javax.measure.Unit<javax.measure.quantity.Dimensionless> PERCENT
0.01
(standard name
%
).static final javax.measure.Unit<javax.measure.quantity.Dimensionless> DECIBEL
dB
).static final javax.measure.Unit<javax.measure.quantity.AmountOfSubstance> ATOM
atom
).static final javax.measure.Unit<javax.measure.quantity.Length> FOOT
0.3048 m
(standard name
ft
).static final javax.measure.Unit<javax.measure.quantity.Length> INCH
0.0254 m
(standard name
in
).static final javax.measure.Unit<javax.measure.quantity.Length> ANGSTROM
1E-10 m
(standard name
Ångström
).static final javax.measure.Unit<javax.measure.quantity.Length> ASTRONOMICAL_UNIT
ua
).static final javax.measure.Unit<javax.measure.quantity.Length> LIGHT_YEAR
ly
).static final javax.measure.Unit<javax.measure.quantity.Length> PARSEC
ASTRONOMICAL_UNIT
in the direction perpendicular to the direction to the star (standard
name pc
).static final javax.measure.Unit<javax.measure.quantity.Length> POINT
0.013837 INCH
exactly
(standard name pt
).PIXEL
static final javax.measure.Unit<javax.measure.quantity.Length> PIXEL
1/72 INCH
(standard name
pixel
). It is the American point rounded to an even 1/72
inch.POINT
static final javax.measure.Unit<javax.measure.quantity.Length> COMPUTER_POINT
PIXEL
static final javax.measure.Unit<javax.measure.quantity.Time> DAY_SIDEREAL
day_sidereal
).static final javax.measure.Unit<javax.measure.quantity.Time> YEAR_SIDEREAL
year_sidereal
).static final javax.measure.Unit<javax.measure.quantity.Time> YEAR_JULIEN
static final javax.measure.Unit<javax.measure.quantity.Mass> ATOMIC_MASS
u
).static final javax.measure.Unit<javax.measure.quantity.Mass> ELECTRON_MASS
me
).static final javax.measure.Unit<javax.measure.quantity.Mass> POUND
453.59237 grams
(avoirdupois pound,
standard name lb
).static final javax.measure.Unit<javax.measure.quantity.ElectricCharge> E
e
).static final javax.measure.Unit<javax.measure.quantity.ElectricCharge> FARADAY
Units.MOLE
) and the charge (1 e) on a single electron
(standard name Fd
).static final javax.measure.Unit<javax.measure.quantity.ElectricCharge> FRANKLIN
Fr
).static final javax.measure.Unit<javax.measure.quantity.Temperature> RANKINE
5/9 °K
(standard name
°R
).static final javax.measure.Unit<javax.measure.quantity.Angle> REVOLUTION
2π
Units.RADIAN
(standard name rev
).static final javax.measure.Unit<javax.measure.quantity.Speed> C
c
).static final javax.measure.Unit<javax.measure.quantity.Acceleration> G
grav
).static final javax.measure.Unit<javax.measure.quantity.Area> ARE
100 m²
(standard name a
).public static final javax.measure.Unit<Information> BIT
bit
).public static final javax.measure.Unit<Information> BYTE
8 SI#BIT
(BinarY
TErm, standard name byte
).public static final tec.uom.se.unit.ProductUnit<InformationRate> BITS_PER_SECOND
bit/s
).static final javax.measure.Unit<Information> OCTET
BYTE
static final javax.measure.Unit<javax.measure.quantity.ElectricCurrent> GILBERT
10/4
πampere-turn
(standard name Gi
).static final javax.measure.Unit<javax.measure.quantity.Energy> ERG
1E-7 J
(standard name
erg
).static final javax.measure.Unit<javax.measure.quantity.Energy> ELECTRON_VOLT
eV
, also recognized keV, MeV, GeV
).static final javax.measure.Unit<javax.measure.quantity.Illuminance> LAMBERT
1E4 Lx
(standard name
La
).static final javax.measure.Unit<javax.measure.quantity.MagneticFlux> MAXWELL
1E-8 Wb
(standard name
Mx
).static final javax.measure.Unit<javax.measure.quantity.MagneticFluxDensity> GAUSS
1000 A/m
(standard
name G
).static final javax.measure.Unit<javax.measure.quantity.Force> DYNE
1E-5 N
(standard name
dyn
).static final javax.measure.Unit<javax.measure.quantity.Force> KILOGRAM_FORCE
9.80665 N
(standard name
kgf
).static final javax.measure.Unit<javax.measure.quantity.Force> POUND_FORCE
static final javax.measure.Unit<javax.measure.quantity.Power> HORSEPOWER
hp
).static final javax.measure.Unit<javax.measure.quantity.Pressure> ATMOSPHERE
atm
).static final javax.measure.Unit<javax.measure.quantity.Pressure> BAR
100 kPa
(standard name
bar
).static final javax.measure.Unit<javax.measure.quantity.Pressure> MILLIMETRE_OF_MERCURY
mmHg
).static final javax.measure.Unit<javax.measure.quantity.Pressure> INCH_OF_MERCURY
inHg
).static final javax.measure.Unit<javax.measure.quantity.RadiationDoseAbsorbed> RAD
rd
).static final javax.measure.Unit<javax.measure.quantity.RadiationDoseEffective> REM
0.01 Sv
(standard name rem
).static final javax.measure.Unit<javax.measure.quantity.Radioactivity> CURIE
Ci
).static final javax.measure.Unit<javax.measure.quantity.Radioactivity> RUTHERFORD
Rd
).static final javax.measure.Unit<javax.measure.quantity.SolidAngle> SPHERE
4 π steradians
(standard name sphere
).static final javax.measure.Unit<si.uom.quantity.DynamicViscosity> POISE
1 g/(cm·s)
(cgs unit).static final javax.measure.Unit<si.uom.quantity.KinematicViscosity> STOKE
1 cm²/s
(cgs unit).static final javax.measure.Unit<javax.measure.quantity.Frequency> FRAMES_PER_SECOND
fps
).private NonSI()
static NonSI getInstance()
public java.lang.String getName()
getName
in interface javax.measure.spi.SystemOfUnits
getName
in interface tec.uom.lib.common.function.Nameable
getName
in class tec.uom.se.AbstractSystemOfUnits
private static <U extends javax.measure.Unit<?>> U addUnit(U unit)
unit
- the unit being added.unit
.private static <U extends tec.uom.se.AbstractUnit<?>> U addUnit(U unit, java.lang.Class<? extends javax.measure.Quantity<?>> type)
unit
- the unit being added.type
- the quantity type.unit
.