Uses of Interface
javax.measure.Quantity
Package
Description
Specifies Java packages for the programmatic, type safe handling
of quantities and their expression as values of units.
[OPTIONAL] Provides Formatting and Parsing functionality for units, quantities, dimensions or their textual representation.
[OPTIONAL] Provides quantitative properties or attributes of thing such as
mass, time, distance, heat, and angular separation.
[OPTIONAL] The Units of Measurement SPI.
-
Uses of Quantity in javax.measure
Modifier and TypeInterfaceDescriptioninterface
Represents a quantitative property of a phenomenon, body, or substance, that can be quantified by measurement.interface
Represents a determinate quantity (as of length, time, heat, or value) adopted as a standard of measurement.Modifier and TypeMethodDescriptionCasts this quantity to a parameterized unit of specified nature or throw aClassCastException
if the dimension of the specified quantity and this measure unit's dimension do not match.Casts this unit to a parameterized unit of specified nature or throw aClassCastException
if the dimension of the specified quantity and this unit's dimension do not match.Returns the specified unit multiplied by the factor10-18
Returns the specified unit multiplied by the factor10-2
Returns the specified unit multiplied by the factor101
Returns the specified unit multiplied by the factor10-1
US alias forDECA
.Returns the specified unit multiplied by the factor1018
Returns the specified unit multiplied by the factor10246
(binary prefix).Returns the specified unit multiplied by the factor10-15
Returns the specified unit multiplied by the factor10243
(binary prefix).Returns the specified unit multiplied by the factor109
Returns the specified unit multiplied by the factor102
Returns the specified unit multiplied by the factor1024
(binary prefix).Returns the specified unit multiplied by the factor103
Returns the specified unit multiplied by the factor10242
(binary prefix).Returns the specified unit multiplied by the factor106
Returns the specified unit multiplied by the factor10-6
Returns the specified unit multiplied by the factor10-3
Returns the specified unit multiplied by the factor10-9
Returns the specified unit multiplied by the factor10245
(binary prefix).Returns the specified unit multiplied by the factor1015
Returns the specified unit multiplied by the factor10-12
Returns the specified unit multiplied by the factor10-30
Returns the specified unit multiplied by the factor1030
Returns the specified unit multiplied by the factor1027
Returns the specified unit multiplied by the factor10-27
Returns the specified unit multiplied by the factor10244
(binary prefix).Returns the specified unit multiplied by the factor1012
Returns the specified unit multiplied by the factor10248
(binary prefix).Returns the specified unit multiplied by the factor10-24
Returns the specified unit multiplied by the factor1024
Returns the specified unit multiplied by the factor10247
(binary prefix).Returns the specified unit multiplied by the factor10-21
Returns the specified unit multiplied by the factor1021
Modifier and TypeMethodDescriptionReturns the sum of thisQuantity
with the one specified.Casts this quantity to a parameterized unit of specified nature or throw aClassCastException
if the dimension of the specified quantity and this measure unit's dimension do not match.Returns the quotient of thisQuantity
divided by theNumber
specified.Quantity<?>
Returns the quotient of thisQuantity
divided by theQuantity
specified.Quantity<?>
Quantity.inverse()
Returns aQuantity
that is the multiplicative inverse of thisQuantity
, having reciprocal value and reciprocal unit as given bythis.getUnit().inverse()
.Returns the product of thisQuantity
with theNumber
value specified.Quantity<?>
Returns the product of thisQuantity
with the one specified.Quantity.negate()
Returns aQuantity
whose value is(-this.getValue())
.Returns the difference between thisQuantity
and the one specified.Returns thisQuantity
converted into another (compatible)Unit
.Quantity.toSystemUnit()
Convenient method equivalent toto(getUnit().toSystemUnit())
.Modifier and TypeMethodDescriptionReturns the sum of thisQuantity
with the one specified.Quantity<?>
Returns the quotient of thisQuantity
divided by theQuantity
specified.boolean
Quantity.isEquivalentTo
(Quantity<Q> that) Compares two instances ofQuantity <Q>
, performing the conversion of units if necessary.Quantity<?>
Returns the product of thisQuantity
with the one specified.Returns the difference between thisQuantity
and the one specified. -
Uses of Quantity in javax.measure.format
Modifier and TypeMethodDescriptionQuantity<?>
QuantityFormat.parse
(CharSequence csq) Parses the specifiedCharSequence
to produce aQuantity
.Quantity<?>
QuantityFormat.parse
(CharSequence csq, ParsePosition pos) Parses a portion of the specifiedCharSequence
from the specified position to produce aQuantity
.Modifier and TypeMethodDescriptionFormats the specifiedQuantity
.QuantityFormat.format
(Quantity<?> quantity, Appendable destination) Formats the specified quantity into anAppendable
. -
Uses of Quantity in javax.measure.quantity
Modifier and TypeInterfaceDescriptioninterface
Rate of change of velocity with respect to time.interface
Number of elementary entities (molecules, for example) of a substance.interface
Figure formed by two lines diverging from a common point.interface
Extent of a planar region or of the surface of a solid measured in square units.interface
Catalytic activity.interface
Dimensionless quantity.interface
Electric capacitance.interface
Electric charge.interface
Electric conductance.interface
Amount of electric charge flowing past a specified circuit point per unit time.interface
Electric inductance.interface
Electric potential or electromotive force.interface
Electric resistance.interface
Capacity of a physical system to do work.interface
Quantity that tends to produce an acceleration of a body in the direction of its application.interface
Number of times a specified phenomenon occurs within a specified interval.interface
Illuminance.interface
Extent of something along its greatest dimension or the extent of space between two objects or places.interface
Luminous flux.interface
Luminous flux density per solid angle as measured in a given direction relative to the emitting source.interface
Magnetic flux.interface
Magnetic flux density.interface
Measure of the quantity of matter that a body or an object contains.interface
Rate at which work is done.interface
Force applied uniformly over a surface.interface
Amount of energy deposited per unit of mass.interface
Effective (or "equivalent") dose of radiation received by a human or some other living organism.interface
Radioactive activity.interface
Angle formed by three or more planes intersecting at a common point.interface
Distance traveled divided by the time of travel.interface
Degree of hotness or coldness of a body or an environment.interface
Period of existence or persistence.interface
Amount of space occupied by a three-dimensional object or region of space. -
Uses of Quantity in javax.measure.spi
Modifier and TypeMethodDescriptionabstract <Q extends Quantity<Q>>
QuantityFactory<Q>ServiceProvider.getQuantityFactory
(Class<Q> quantity) Returns a factory for the givenQuantity
type.Returns the default unit for the specified quantity ornull
if none is defined for the given quantity in this unit system.Modifier and TypeMethodDescriptionReturns the quantity for the specified number stated in the specified unit.QuantityFactory.create
(Number value, Unit<Q> unit, Quantity.Scale scale) Returns the quantity for the specified number stated in the specified unit and scale.