Uses of Interface
javax.measure.Quantity
Packages that use 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
Classes in javax.measure with type parameters of type QuantityModifier and TypeInterfaceDescriptioninterfaceRepresents a quantitative property of a phenomenon, body, or substance, that can be quantified by measurement.interfaceRepresents a determinate quantity (as of length, time, heat, or value) adopted as a standard of measurement.Methods in javax.measure with type parameters of type QuantityModifier and TypeMethodDescriptionCasts this quantity to a parameterized unit of specified nature or throw aClassCastExceptionif 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 aClassCastExceptionif the dimension of the specified quantity and this unit's dimension do not match.Returns the specified unit multiplied by the factor10-18Returns the specified unit multiplied by the factor10-2Returns the specified unit multiplied by the factor101Returns the specified unit multiplied by the factor10-1US alias forDECA.Returns the specified unit multiplied by the factor1018Returns the specified unit multiplied by the factor10246(binary prefix).Returns the specified unit multiplied by the factor10-15Returns the specified unit multiplied by the factor10243(binary prefix).Returns the specified unit multiplied by the factor109Returns the specified unit multiplied by the factor102Returns the specified unit multiplied by the factor1024(binary prefix).Returns the specified unit multiplied by the factor103Returns the specified unit multiplied by the factor10242(binary prefix).Returns the specified unit multiplied by the factor106Returns the specified unit multiplied by the factor10-6Returns the specified unit multiplied by the factor10-3Returns the specified unit multiplied by the factor10-9Returns the specified unit multiplied by the factor10245(binary prefix).Returns the specified unit multiplied by the factor1015Returns the specified unit multiplied by the factor10-12Returns the specified unit multiplied by the factor10-30Returns the specified unit multiplied by the factor1030Returns the specified unit multiplied by the factor1027Returns the specified unit multiplied by the factor10-27Returns the specified unit multiplied by the factor10244(binary prefix).Returns the specified unit multiplied by the factor1012Returns the specified unit multiplied by the factor10248(binary prefix).Returns the specified unit multiplied by the factor10-24Returns the specified unit multiplied by the factor1024Returns the specified unit multiplied by the factor10247(binary prefix).Returns the specified unit multiplied by the factor10-21Returns the specified unit multiplied by the factor1021Methods in javax.measure that return QuantityModifier and TypeMethodDescriptionReturns the sum of thisQuantitywith the one specified.Casts this quantity to a parameterized unit of specified nature or throw aClassCastExceptionif the dimension of the specified quantity and this measure unit's dimension do not match.Returns the quotient of thisQuantitydivided by theNumberspecified.Quantity<?>Returns the quotient of thisQuantitydivided by theQuantityspecified.Quantity<?>Quantity.inverse()Returns aQuantitythat is the multiplicative inverse of thisQuantity, having reciprocal value and reciprocal unit as given bythis.getUnit().inverse().Returns the product of thisQuantitywith theNumbervalue specified.Quantity<?>Returns the product of thisQuantitywith the one specified.Quantity.negate()Returns aQuantitywhose value is(-this.getValue()).Returns the difference between thisQuantityand the one specified.Returns thisQuantityconverted into another (compatible)Unit.Quantity.toSystemUnit()Convenient method equivalent toto(getUnit().toSystemUnit()).Methods in javax.measure with parameters of type QuantityModifier and TypeMethodDescriptionReturns the sum of thisQuantitywith the one specified.Quantity<?>Returns the quotient of thisQuantitydivided by theQuantityspecified.booleanQuantity.isEquivalentTo(Quantity<Q> that) Compares two instances ofQuantity <Q>, performing the conversion of units if necessary.Quantity<?>Returns the product of thisQuantitywith the one specified.Returns the difference between thisQuantityand the one specified. -
Uses of Quantity in javax.measure.format
Methods in javax.measure.format that return QuantityModifier and TypeMethodDescriptionQuantity<?>QuantityFormat.parse(CharSequence csq) Parses the specifiedCharSequenceto produce aQuantity.Quantity<?>QuantityFormat.parse(CharSequence csq, ParsePosition pos) Parses a portion of the specifiedCharSequencefrom the specified position to produce aQuantity.Methods in javax.measure.format with parameters of type QuantityModifier and TypeMethodDescriptionFormats the specifiedQuantity.QuantityFormat.format(Quantity<?> quantity, Appendable destination) Formats the specified quantity into anAppendable. -
Uses of Quantity in javax.measure.quantity
Subinterfaces of Quantity in javax.measure.quantityModifier and TypeInterfaceDescriptioninterfaceRate of change of velocity with respect to time.interfaceNumber of elementary entities (molecules, for example) of a substance.interfaceFigure formed by two lines diverging from a common point.interfaceExtent of a planar region or of the surface of a solid measured in square units.interfaceCatalytic activity.interfaceDimensionless quantity.interfaceElectric capacitance.interfaceElectric charge.interfaceElectric conductance.interfaceAmount of electric charge flowing past a specified circuit point per unit time.interfaceElectric inductance.interfaceElectric potential or electromotive force.interfaceElectric resistance.interfaceCapacity of a physical system to do work.interfaceQuantity that tends to produce an acceleration of a body in the direction of its application.interfaceNumber of times a specified phenomenon occurs within a specified interval.interfaceIlluminance.interfaceExtent of something along its greatest dimension or the extent of space between two objects or places.interfaceLuminous flux.interfaceLuminous flux density per solid angle as measured in a given direction relative to the emitting source.interfaceMagnetic flux.interfaceMagnetic flux density.interfaceMeasure of the quantity of matter that a body or an object contains.interfaceRate at which work is done.interfaceForce applied uniformly over a surface.interfaceAmount of energy deposited per unit of mass.interfaceEffective (or "equivalent") dose of radiation received by a human or some other living organism.interfaceRadioactive activity.interfaceAngle formed by three or more planes intersecting at a common point.interfaceDistance traveled divided by the time of travel.interfaceDegree of hotness or coldness of a body or an environment.interfacePeriod of existence or persistence.interfaceAmount of space occupied by a three-dimensional object or region of space. -
Uses of Quantity in javax.measure.spi
Classes in javax.measure.spi with type parameters of type QuantityMethods in javax.measure.spi with type parameters of type QuantityModifier and TypeMethodDescriptionabstract <Q extends Quantity<Q>>
QuantityFactory<Q>ServiceProvider.getQuantityFactory(Class<Q> quantity) Returns a factory for the givenQuantitytype.Returns the default unit for the specified quantity ornullif none is defined for the given quantity in this unit system.Methods in javax.measure.spi that return QuantityModifier 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.