Java Units API
Build 2004-02-06
A B C D E F G H I J K L M N O P R S T U V W Y Z

A

AEON - Static variable in class NonSI
A unit of duration equal to 1E9 NonSI.YEAR.
AMPERE - Static variable in class SI
The base unit for electric current quantities (A).
ANGSTROM - Static variable in class NonSI
A unit of length equal to 1E-10 m (symbol Å).
ARE - Static variable in class NonSI
A unit of area equal to 100 m².
ASTRONOMICAL_UNIT - Static variable in class NonSI
A unit of length equal to the average distance from the center of the Earth to the center of the Sun.
ATMOSPHERE - Static variable in class NonSI
A unit of pressure equal to the average pressure of the Earth's atmosphere at sea level.
ATOM - Static variable in class NonSI
A unit of amount of substance equals to one atom.
ATOMIC_MASS - Static variable in class NonSI
A unit of mass equal to 1/12 the mass of the carbon-12 atom.
ATTO(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 10-18
AddConverter - class AddConverter.
This class represents an add converter.
AddConverter(double) - Constructor for class AddConverter
Creates an add converter with the specified offset.
AlternateUnit - class AlternateUnit.
This class represents an alternate unit.
add(double) - Method in class Unit
Returns the result of adding an offset to this unit.
alias(Unit, String) - Static method in class UnitFormat
Attaches a system-wide alias to the specified unit.
alternate(String) - Method in class Unit
Returns a unit compatible to this unit except it uses the specified symbol.
appendTo(StringBuffer) - Method in class Unit
Appends the text representation of this Unit to the StringBuffer argument.

B

BAR - Static variable in class NonSI
A unit of pressure equal to 100 kPa.
BARN - Static variable in class NonSI
A unit of area equal to 100 fm².
BECQUEREL - Static variable in class SI
The derived unit for activity of a radionuclide (Bq).
BIT - Static variable in class SI
The unit for binary information (bit).
BOHR - Static variable in class NonSI
A unit of length equal to the mean distance between the proton and the electron in an unexcited hydrogen atom.
BTU - Static variable in class NonSI
A unit of energy equal to 1055.056 J.
BTU_MEAN - Static variable in class NonSI
A unit of energy equal to 1055.87 J (mean).
BTU_TH - Static variable in class NonSI
A unit of energy equal to 1054.350 J (thermochemical).
BYTE - Static variable in class NonSI
A unit of data amount equal to 8 bits (BinarY TErm).
BaseUnit - class BaseUnit.
This class represents the building blocks on top of which all others units are created.
BaseUnit(String) - Constructor for class BaseUnit
Creates a base unit with the specified symbol.

C

C - Static variable in class NonSI
A unit of velocity relative to the speed of light.
CALORIE - Static variable in class NonSI
A unit of energy equal to 4.1868 J (symbol cal).
CANDELA - Static variable in class SI
The base unit for luminous intensity quantities (cd).
CARAT - Static variable in class NonSI
A unit of mass equal to 200 milligrams.
CELSIUS - Static variable in class SI
The derived unit for Celsius temperature (°C).
CENTI(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 10-2
CENTIRADIAN - Static variable in class NonSI
A unit of angle equal to 0.01 SI.RADIAN.
CICERO - Static variable in class NonSI
A unit of length equal to 12 NonSI.DIDOT.
COMPUTER_POINT - Static variable in class NonSI
Equivalent NonSI.PIXEL
COULOMB - Static variable in class SI
The derived unit for electric charge, quantity of electricity (C).
CUP_UK - Static variable in class NonSI
A unit of volume equal to 10 NonSI.FLUID_OUNCE_UK
CUP_US - Static variable in class NonSI
A unit of volume equal to 8 NonSI.FLUID_OUNCE_US
CURIE - Static variable in class NonSI
A unit of radioctive activity equal to the activity of a gram of radium.
ConversionException - exception ConversionException.
Signals that a problem of some sort has occurred either when creating a converter between two units or during the conversion itself.
ConversionException() - Constructor for class ConversionException
Constructs a ConversionException with no detail message.
ConversionException(String) - Constructor for class ConversionException
Constructs a ConversionException with the specified detail message.
Converter - class Converter.
This class represents a converter of numeric values.
Converter() - Constructor for class Converter
Default constructor.
concatenate(Converter) - Method in class AddConverter
 
concatenate(Converter) - Method in class Converter
Concatenates this converter with another converter.
concatenate(Converter) - Method in class MultiplyConverter
 
convert(double) - Method in class AddConverter
 
convert(double) - Method in class Converter
Converts a double value.
convert(double) - Method in class MultiplyConverter
 

D

DAY - Static variable in class NonSI
A unit of duration equal to 24 NonSI.HOUR.
DAY_SIDEREAL - Static variable in class NonSI
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.
DECI(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 10-1
DEGREE_ANGLE - Static variable in class NonSI
A unit of angle equal to 1/360 NonSI.REVOLUTION.
DEKA(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 101
DIDOT - Static variable in class NonSI
A unit of length equal to 0.37592e-3 m.
DYNE - Static variable in class NonSI
A unit of force equal to 1E-5 N.
DerivedUnit - class DerivedUnit.
This abstract class identifies derived units.
derivative(double) - Method in class AddConverter
 
derivative(double) - Method in class Converter
Returns this converter derivative for the specified x value.
derivative(double) - Method in class MultiplyConverter
 
divide(Unit) - Method in class Unit
Returns the quotient of this unit with the one specified.

E

E - Static variable in class NonSI
A unit of electric charge equal to the charge on one electron.
ELECTRON_MASS - Static variable in class NonSI
A unit of mass equal to the mass of the electron.
ELECTRON_VOLT - Static variable in class NonSI
A unit of energy equal to one electron-volt (symbol eV, also recognized keV, MeV, GeV).
ERG - Static variable in class NonSI
A unit of energy equal to 1E-7 J.
EXA(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 1018
equals(Object) - Method in class AddConverter
 
equals(Object) - Method in class AlternateUnit
 
equals(Object) - Method in class BaseUnit
 
equals(Object) - Method in class Converter
Indicates whether some other object is "equal to" this converter.
equals(Object) - Method in class ProductUnit
 
equals(Object) - Method in class TransformedUnit
 
equals(Object) - Method in class Unit
Indicates if this unit is equal to the object specified.

F

FAHRENHEIT - Static variable in class NonSI
A unit of temperature equal to degree Rankine minus 459.67 °R.
FARAD - Static variable in class SI
The derived unit for capacitance (F).
FARADAY - Static variable in class NonSI
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.
FEMTO(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 10-15
FLUID_OUNCE_UK - Static variable in class NonSI
A unit of volume equal to 1 / 160 NonSI.GALLON_UK
FLUID_OUNCE_US - Static variable in class NonSI
A unit of volume equal to 1 / 16 NonSI.PINT_LIQUID_US.
FOOT - Static variable in class NonSI
A unit of length equal to 0.3048 m (1959 Standard).
FRANKLIN - Static variable in class NonSI
A unit of electric charge which exerts a force of one dyne on an equal charge at a distance of one centimeter.
format(Object, StringBuffer, FieldPosition) - Method in class UnitFormat
Formats a unit and appends the resulting text to a given string buffer.

G

G - Static variable in class NonSI
A unit of acceleration equal to the gravity at the earth's surface.
GALILEO - Static variable in class NonSI
A unit of acceleration equal to an acceleration of one centimeter per second per second.
GALLON_DRY_US - Static variable in class NonSI
A unit of volume equal to one US dry gallon.
GALLON_LIQUID_US - Static variable in class NonSI
A unit of volume equal to one US gallon, Liquid Unit.
GALLON_UK - Static variable in class NonSI
A unit of volume equal to 4.546 09 NonSI.LITER.
GAUSS - Static variable in class NonSI
A unit of magnetic flux density equal 1000 A/m.
GIGA(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 109
GILBERT - Static variable in class NonSI
A unit of electric charge equal to the centimeter-gram-second electromagnetic unit of magnetomotive force, equal to 10/4 π ampere-turn.
GRADE - Static variable in class NonSI
A unit of angle measure equal to 1/400 NonSI.REVOLUTION.
GRAM - Static variable in class SI
The derived unit for mass quantities (g).
GRAY - Static variable in class SI
The derived unit for absorbed dose, specific energy (imparted), kerma (Gy).
get(int) - Method in class ProductUnit
Returns the product element at the specified position.
getAsciiInstance() - Static method in class UnitFormat
Returns the ASCII unit format.
getBaseUnits() - Method in class BaseUnit
 
getConverterTo(Unit) - Method in class Unit
Returns a converter of numeric values from this unit to another unit.
getDimension() - Method in class Unit
Returns the units identifying the dimension of this unit.
getHtmlInstance() - Static method in class UnitFormat
Returns the HTML unit format.
getInstance(String) - Static method in class BaseUnit
Returns the base unit with the specified symbol.
getInstance(Unit, Converter) - Static method in class TransformedUnit
Returns the unit derived from the specified unit using the specified converter.
getInstance(Unit) - Static method in class Unit
This method returns an Unit from the collection equals to the specified template.
getInstance() - Static method in class UnitFormat
Returns the default unit format for the current default locale.
getInstances() - Static method in class Unit
Returns a read-only list of the currently-defined units.
getOffset() - Method in class AddConverter
Returns the offset value for this add converter.
getPow() - Method in class ProductUnit.Element
Returns the power exponent.
getRoot() - Method in class ProductUnit.Element
Returns the root exponent.
getStandardInstance() - Static method in class UnitFormat
Returns the standard unit format.
getSymbol() - Method in class AlternateUnit
Returns the symbol for this alternate unit.
getSymbol() - Method in class BaseUnit
Returns the symbol for this base unit.
getSystemUnit() - Method in class AlternateUnit
 
getSystemUnit() - Method in class BaseUnit
 
getSystemUnit() - Method in class ProductUnit
 
getSystemUnit() - Method in class TransformedUnit
 
getSystemUnit() - Method in class Unit
Returns the system unit for this unit.
getUnit() - Method in class ProductUnit.Element
Returns this element's unit.

H

HECTARE - Static variable in class NonSI
A unit of area equal to 100 NonSI.ARE.
HECTO(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 102
HENRY - Static variable in class SI
The derived unit for inductance (H).
HERTZ - Static variable in class SI
The derived unit for frequency (Hz).
HORSEPOWER - Static variable in class NonSI
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).
HOUR - Static variable in class NonSI
A unit of duration equal to 60 NonSI.MINUTE.
hashCode() - Method in class AddConverter
 
hashCode() - Method in class Converter
Returns a hash code value for this converter.
hashCode() - Method in class Unit
Returns a hash code value for this unit.

I

IDENTITY - Static variable in class Converter
Holds the identity converter.
INCH - Static variable in class NonSI
A unit of length equal to 0.0254 m (1959 Standard).
INCH_OF_MERCURY - Static variable in class NonSI
A unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 inch high.
inverse() - Method in class AddConverter
 
inverse() - Method in class Converter
Returns the inverse of this converter.
inverse() - Method in class MultiplyConverter
 
isCompatible(Unit) - Method in class Unit
Indicates if this unit is compatible with the unit specified.
isLinear() - Method in class AddConverter
 
isLinear() - Method in class Converter
Indicates if this converter is linear.
isLinear() - Method in class MultiplyConverter
 
isSystemUnit() - Method in class Unit
Indicates if this unit is a system unit.
isUnitIdentifierPart(char) - Static method in class UnitFormat
Determines if the specified character may be part of a unit identifier.

J

JOULE - Static variable in class SI
The derived unit for energy, work, quantity of heat (J).
javax.units - package javax.units
Provides support for programatic unit handling in conformance with the units specification currently being defined under JSR-108.

K

KATAL - Static variable in class SI
The derived unit for catalytic activity (kat).
KELVIN - Static variable in class SI
The base unit for thermodynamic temperature quantities (K).
KILO(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 103
KILOCALORIE - Static variable in class NonSI
A unit of energy equal to one kilo-calorie (symbol Cal).
KILOGRAM - Static variable in class SI
The base unit for mass quantities (kg).
KILOGRAM_FORCE - Static variable in class NonSI
A unit of force equal to 9.80665 N.
KNOT - Static variable in class NonSI
A unit of velocity equal to one NonSI.NAUTICAL_MILE per NonSI.HOUR.

L

LAMBERT - Static variable in class NonSI
A unit of illuminance equal to 1E4 Lx.
LIGHT_YEAR - Static variable in class NonSI
A unit of length equal to the distance that light travels in one year through a vacuum.
LITER - Static variable in class NonSI
A unit of volume equal to one cubic decimeter (symbol L, also recognized µL, mL, cL, dL, 1964 standard).
LUMEN - Static variable in class SI
The derived unit for luminous flux (lm).
LUX - Static variable in class SI
The derived unit for illuminance (lx).
label(Unit, String) - Static method in class UnitFormat
Attaches a system-wide label to the specified unit.
labelFor(Unit) - Method in class UnitFormat
Returns the label for the specified unit.

M

MACH - Static variable in class NonSI
A unit of velocity to express the speed of an aircraft relative to the speed of sound.
MAXWELL - Static variable in class NonSI
A unit of magnetic flux equal 1E-8 Wb.
MEGA(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 106
METER - Static variable in class SI
The base unit for length quantities (m).
METRIC_TON - Static variable in class NonSI
A unit of mass equal to 1000 kg (metric ton).
MICRO(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 10-6
MILE - Static variable in class NonSI
A unit of length equal to 1609.344 m.
MILLI(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 10-3
MILLIBAR - Static variable in class NonSI
A unit of pressure equal to 1E-3 NonSI.BAR.
MILLIMETER_OF_MERCURY - Static variable in class NonSI
A unit of pressure equal to the pressure exerted at the Earth's surface by a column of mercury 1 millimeter high.
MINUTE - Static variable in class NonSI
A unit of duration equal to 60 s.
MINUTE_ANGLE - Static variable in class NonSI
A unit of angle equal to 1/60 NonSI.DEGREE_ANGLE.
MOLE - Static variable in class SI
The base unit for amount of substance quantities (mol).
MONTH - Static variable in class NonSI
A unit of duration equal to one twelfth of a year.
MultiplyConverter - class MultiplyConverter.
This class represents a multiply converter.
MultiplyConverter(double) - Constructor for class MultiplyConverter
Creates a multiply converter with the specified scale factor.
multiply(double) - Method in class Unit
Returns the result of multiplying this unit by a scale factor.
multiply(Unit) - Method in class Unit
Returns the product of this unit with the one specified.

N

NANO(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 10-9
NAUTICAL_MILE - Static variable in class NonSI
A unit of length equal to 1852.0 m.
NEWTON - Static variable in class SI
The derived unit for force (N).
NonSI - 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.

O

OCTET - Static variable in class NonSI
Equivalent NonSI.BYTE
OHM - Static variable in class SI
The derived unit for electric resistance (Ω).
ONE - Static variable in class Unit
Holds the dimensionless unit ONE.
OUNCE - Static variable in class NonSI
A unit of mass equal to 1 / 16 NonSI.POUND.

P

PARSEC - Static variable in class NonSI
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 NonSI.ASTRONOMICAL_UNIT in the direction perpendicular to the direction to the star.
PASCAL - Static variable in class SI
The derived unit for pressure, stress (Pa).
PERCENT - Static variable in class NonSI
A unit equals to 0.01 (dimensionless).
PETA(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 1015
PICA - Static variable in class NonSI
A unit of length equal to 12 NonSI.POINT.
PICO(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 10-12
PINT_DRY_US - Static variable in class NonSI
A unit of volume equal to one 1 / 8 NonSI.GALLON_DRY_US
PINT_LIQUID_US - Static variable in class NonSI
A unit of volume equal to 1 / 8 NonSI.GALLON_LIQUID_US
PINT_UK - Static variable in class NonSI
A unit of volume equal to 1 / 8 NonSI.GALLON_UK
PIXEL - Static variable in class NonSI
A unit of length equal to 1/72 NonSI.INCH.
POINT - Static variable in class NonSI
A unit of length equal to 0.013837 NonSI.INCH exactly (standardized by the American Typefounders Association).
POUND - Static variable in class NonSI
A unit of mass equal to 453.59237 grams (avoirdupois pound).
POUND_FORCE - Static variable in class NonSI
A unit of force equal to NonSI.POUND * NonSI.G.
ProductUnit - class ProductUnit.
This class represents a product unit.
ProductUnit.Element - class ProductUnit.Element.
Inner product element represents a rational power of a single unit.
parseObject(String, ParsePosition) - Method in class UnitFormat
Parses text from a string to produce an object.
parseUnit(CharSequence) - Method in class UnitFormat
Parses text from a character sequence to produce a unit.
pow(int) - Method in class Unit
Returns a unit equals to this unit raised to an exponent.

R

RAD - Static variable in class NonSI
A unit of radiation dose absorbed equal to a dose of 0.01 joule of energy per kilogram of mass (J/kg).
RADIAN - Static variable in class SI
The unit for plane angle quantities (rad).
RANKINE - Static variable in class NonSI
A unit of temperature equal to 5/9 °K.
REM - Static variable in class NonSI
A unit of radiation dose effective equal to 0.01 Sv.
REVOLUTION - Static variable in class NonSI
A unit of angle equal to a full circle or 2π SI.RADIAN.
ROENTGEN - Static variable in class NonSI
A unit used to measure the ionizing ability of radiation.
RUTHERFORD - Static variable in class NonSI
A unit of radioctive activity equal to 1 million radioactive disintegrations per second.
readResolve() - Method in class Unit
Overrides readResolve() to ensure that deserialization maintains unit's unicity.
root(int) - Method in class Unit
Returns a unit equals to the given root of this unit.

S

SECOND - Static variable in class SI
The base unit for duration quantities (s).
SECOND_ANGLE - Static variable in class NonSI
A unit of angle equal to 1/60 NonSI.MINUTE_ANGLE.
SI - class SI.
This class contains SI (Système International d'Unités) base units, and derived units.
SIEMENS - Static variable in class SI
The derived unit for electric conductance (S).
SIEVERT - Static variable in class SI
The derived unit for dose equivalent (Sv).
SPHERE - Static variable in class NonSI
A unit of solid angle equal to 4 π steradians.
STERADIAN - Static variable in class SI
The unit for solid angle quantities (sr).
searchSymbol(CharSequence) - Static method in class Unit
Retrieves a unit from its symbol.
setDimension(Unit, Converter) - Method in class BaseUnit
Optional operation: Sets the dimensional unit of this base unit.
size() - Method in class ProductUnit
Returns the number of units in this product.

T

TABLESPOON_AU - Static variable in class NonSI
A unit of volume equal to 20.0 mL (Australian tablespoon).
TABLESPOON_UK - Static variable in class NonSI
A unit of volume equal to one 5 / 8 NonSI.FLUID_OUNCE_UK
TABLESPOON_US - Static variable in class NonSI
A unit of volume equal to 1 / 2 NonSI.FLUID_OUNCE_US
TEASPOON_UK - Static variable in class NonSI
A unit of volume equal to 1 / 6 NonSI.FLUID_OUNCE_UK
TEASPOON_US - Static variable in class NonSI
A unit of volume equal to 1 / 6 NonSI.FLUID_OUNCE_US
TERA(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 1012
TESLA - Static variable in class SI
The derived unit for magnetic flux density (T).
THERM - Static variable in class NonSI
A unit of energy equal to 105.4804E6 J (appr.).
TON_UK - Static variable in class NonSI
A unit of mass equal to 2240 NonSI.POUND (long ton).
TON_US - Static variable in class NonSI
A unit of mass equal to 2000 NonSI.POUND (short ton).
TransformedUnit - class TransformedUnit.
This class represents a unit derived from another unit using a Converter.
toString() - Method in class Unit
Returns the standard String representation of this unit.

U

Unit - class Unit.
This class represents a unit of physical quantity.
UnitFormat - class UnitFormat.
This is the abstract base class for all unit formats.
UnitFormat() - Constructor for class UnitFormat
 
unitFor(CharSequence) - Method in class UnitFormat
Returns the unit identified by the specified label.

V

VOLT - Static variable in class SI
The derived unit for electric potential difference, electromotive force (V).
valueOf(CharSequence) - Static method in class Unit
Returns a unit instance that is defined from the specified character sequence.

W

WATT - Static variable in class SI
The derived unit for power, radiant, flux (W).
WEBER - Static variable in class SI
The derived unit for magnetic flux (Wb).
WEEK - Static variable in class NonSI
A unit of duration equal to 7 NonSI.DAY.

Y

YARD - Static variable in class NonSI
A unit of length equal to 0.9144 m (1959 Standard).
YEAR - Static variable in class NonSI
A unit of duration equal to 365 days, 5 hours, 49 minutes, and 12 seconds.
YEAR_CALENDAR - Static variable in class NonSI
A unit of duration equal to 365 NonSI.DAY.
YEAR_SIDEREAL - Static variable in class NonSI
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.
YOCTO(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 10-24
YOTTA(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 1024

Z

ZEPTO(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 10-21
ZETTA(Unit) - Static method in class SI
Returns the specified unit multiplied by the factor 1021

A B C D E F G H I J K L M N O P R S T U V W Y Z
Java Units API
Build 2004-02-06

Symbols, terms and definitions
JSR-108 project