Package | Description |
---|---|
javax.measure |
Specifies Java packages for the programmatic, type safe handling
of quantities and their expression as values of units.
|
javax.measure.quantity |
[OPTIONAL] Provides quantitative properties or attributes of thing such as
mass, time, distance, heat, and angular separation.
|
javax.measure.spi |
[OPTIONAL] The Units of Measurement SPI.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Quantity<Q extends Quantity<Q>>
Represents a quantitative property of a phenomenon, body, or substance, that can be quantified by measurement.
|
interface |
Unit<Q extends Quantity<Q>>
Represents a determinate quantity (as of length, time, heat, or value) adopted as a standard of measurement.
|
Modifier and Type | Method and Description |
---|---|
<T extends Quantity<T>> |
Unit.asType(Class<T> type)
Casts this unit to a parameterized unit of specified nature or throw a
ClassCastException if the dimension of the specified quantity and
this unit's dimension do not match. |
<T extends Quantity<T>> |
Quantity.asType(Class<T> type)
Casts this quantity to a parameterized unit of specified nature or throw a
ClassCastException if the dimension of the specified
quantity and this measure unit's dimension do not match. |
Modifier and Type | Method and Description |
---|---|
Quantity<Q> |
Quantity.add(Quantity<Q> augend)
Returns the sum of this
Quantity with the one specified. |
<T extends Quantity<T>> |
Quantity.asType(Class<T> type)
Casts this quantity to a parameterized unit of specified nature or throw a
ClassCastException if the dimension of the specified
quantity and this measure unit's dimension do not match. |
Quantity<Q> |
Quantity.divide(Number divisor)
Returns the product of this
Quantity divided by the Number specified. |
Quantity<?> |
Quantity.divide(Quantity<?> divisor)
Returns the product of this
Quantity divided by the Quantity specified. |
Quantity<?> |
Quantity.inverse()
Returns a
Quantity whose unit is unit.inverse() . |
Quantity<Q> |
Quantity.multiply(Number multiplier)
Returns the product of this
Quantity with the Number value specified. |
Quantity<?> |
Quantity.multiply(Quantity<?> multiplier)
Returns the product of this
Quantity with the one specified. |
Quantity<Q> |
Quantity.subtract(Quantity<Q> subtrahend)
Returns the difference between this
Quantity and the one specified. |
Quantity<Q> |
Quantity.to(Unit<Q> unit)
Returns this
Quantity converted into another (compatible) Unit . |
Modifier and Type | Method and Description |
---|---|
Quantity<Q> |
Quantity.add(Quantity<Q> augend)
Returns the sum of this
Quantity with the one specified. |
Quantity<?> |
Quantity.divide(Quantity<?> divisor)
Returns the product of this
Quantity divided by the Quantity specified. |
Quantity<?> |
Quantity.multiply(Quantity<?> multiplier)
Returns the product of this
Quantity with the one specified. |
Quantity<Q> |
Quantity.subtract(Quantity<Q> subtrahend)
Returns the difference between this
Quantity and the one specified. |
Modifier and Type | Interface and Description |
---|---|
interface |
Acceleration
Rate of change of velocity with respect to time.
|
interface |
AmountOfSubstance
Number of elementary entities (molecules, for example) of a substance.
|
interface |
Angle
Figure formed by two lines diverging from a common point.
|
interface |
Area
Extent of a planar region or of the surface of a solid measured in square units.
|
interface |
CatalyticActivity
Catalytic activity.
|
interface |
Dimensionless
Dimensionless quantity.
|
interface |
ElectricCapacitance
Electric capacitance.
|
interface |
ElectricCharge
Electric charge.
|
interface |
ElectricConductance
Electric conductance.
|
interface |
ElectricCurrent
Amount of electric charge flowing past a specified circuit point per unit time.
|
interface |
ElectricInductance
Electric inductance.
|
interface |
ElectricPotential
Electric potential or electromotive force.
|
interface |
ElectricResistance
Electric resistance.
|
interface |
Energy
Capacity of a physical system to do work.
|
interface |
Force
Quantity that tends to produce an acceleration of a body in the direction of its application.
|
interface |
Frequency
Number of times a specified phenomenon occurs within a specified interval.
|
interface |
Illuminance
Illuminance.
|
interface |
Length
Extent of something along its greatest dimension or the extent of space between two objects or places.
|
interface |
LuminousFlux
Luminous flux.
|
interface |
LuminousIntensity
Luminous flux density per solid angle as measured in a given direction relative to the emitting source.
|
interface |
MagneticFlux
Magnetic flux.
|
interface |
MagneticFluxDensity
Magnetic flux density.
|
interface |
Mass
Measure of the quantity of matter that a body or an object contains.
|
interface |
Power
Rate at which work is done.
|
interface |
Pressure
Force applied uniformly over a surface.
|
interface |
RadiationDoseAbsorbed
Amount of energy deposited per unit of mass.
|
interface |
RadiationDoseEffective
Effective (or "equivalent") dose of radiation received by a human or some other living organism.
|
interface |
Radioactivity
Radioactive activity.
|
interface |
SolidAngle
Angle formed by three or more planes intersecting at a common point.
|
interface |
Speed
Distance traveled divided by the time of travel.
|
interface |
Temperature
Degree of hotness or coldness of a body or an environment.
|
interface |
Time
Period of existence or persistence.
|
interface |
Volume
Amount of space occupied by a three-dimensional object or region of space.
|
Modifier and Type | Interface and Description |
---|---|
interface |
QuantityFactory<Q extends Quantity<Q>>
|
Modifier and Type | Method and Description |
---|---|
abstract <Q extends Quantity<Q>> |
ServiceProvider.getQuantityFactory(Class<Q> quantity)
Return a factory for this
Quantity . |
<Q extends Quantity<Q>> |
SystemOfUnits.getUnit(Class<Q> quantityType)
Returns the default unit for the specified quantity.
|
Modifier and Type | Method and Description |
---|---|
Quantity<Q> |
QuantityFactory.create(Number value,
Unit<Q> unit)
Returns the quantity for the specified number stated in the specified unit.
|
Copyright © 2014–2016 Jean-Marie Dautelle, Werner Keil, V2COM. All rights reserved.