|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Quantity | |
---|---|
javax.measure | Provides strongly typed measurements to enforce compile-time check of parameters consistency and avoid interface errors. |
javax.measure.quantity | Provides quantitative properties or attributes of thing such as mass, time, distance, heat, and angular separation. |
javax.measure.unit | Provides support for programatic unit handling. |
Uses of Quantity in javax.measure |
---|
Classes in javax.measure with type parameters of type Quantity | |
---|---|
class |
DecimalMeasure<Q extends Quantity>
This class represents a measure whose value is an arbitrary-precision decimal number. |
interface |
Measurable<Q extends Quantity>
This interface represents the measurable, countable, or comparable property or aspect of a thing. |
class |
Measure<V,Q extends Quantity>
This class represents the result of a measurement stated in a known unit. |
class |
VectorMeasure<Q extends Quantity>
This class represents a measurement vector of two or more dimensions. |
Methods in javax.measure with type parameters of type Quantity | ||
---|---|---|
static
|
Measure.valueOf(java.math.BigDecimal decimal,
Unit<Q> unit)
Deprecated. DecimalMeasure should be used directly. |
|
static
|
DecimalMeasure.valueOf(java.math.BigDecimal decimal,
Unit<Q> unit)
Returns the decimal measure for the specified number stated in the specified unit. |
|
static
|
Measure.valueOf(java.math.BigDecimal decimal,
Unit<Q> unit,
java.math.MathContext mathContext)
Deprecated. DecimalMeasure should be used directly and
MathContext specified explicitly when
converting . |
|
static
|
DecimalMeasure.valueOf(java.lang.CharSequence csq)
Returns the decimal measure for the specified textual representation. |
|
static
|
VectorMeasure.valueOf(double[] components,
Unit<Q> unit)
Returns a multi-dimensional measurement vector. |
|
static
|
Measure.valueOf(double[] components,
Unit<Q> unit)
Deprecated. VectorMeasure should be used directly. |
|
static
|
VectorMeasure.valueOf(double x,
double y,
double z,
Unit<Q> unit)
Returns a 3-dimensional measurement vector. |
|
static
|
VectorMeasure.valueOf(double x,
double y,
Unit<Q> unit)
Returns a 2-dimensional measurement vector. |
|
static
|
Measure.valueOf(double doubleValue,
Unit<Q> unit)
Returns the scalar measure for the specified double
stated in the specified unit. |
|
static
|
Measure.valueOf(float floatValue,
Unit<Q> unit)
Returns the scalar measure for the specified float
stated in the specified unit. |
|
static
|
Measure.valueOf(int intValue,
Unit<Q> unit)
Returns the scalar measure for the specified int
stated in the specified unit. |
|
static
|
Measure.valueOf(long longValue,
Unit<Q> unit)
Returns the scalar measure for the specified double
stated in the specified unit. |
Uses of Quantity in javax.measure.quantity |
---|
Subinterfaces of Quantity in javax.measure.quantity | |
---|---|
interface |
Acceleration
This interface represents the rate of change of velocity with respect to time. |
interface |
AmountOfSubstance
This interface represents the number of elementary entities (molecules, for example) of a substance. |
interface |
Angle
This interface represents the figure formed by two lines diverging from a common point. |
interface |
AngularAcceleration
This interface represents the rate of change of angular velocity with respect to time. |
interface |
AngularVelocity
This interface represents the rate of change of angular displacement with respect to time. |
interface |
Area
This interface represents the extent of a planar region or of the surface of a solid measured in square units. |
interface |
CatalyticActivity
This interface represents a catalytic activity. |
interface |
DataAmount
This interface represents a measure of data amount. |
interface |
DataRate
This interface represents the speed of data-transmission. |
interface |
Dimensionless
This interface represents a dimensionless quantity. |
interface |
Duration
This interface represents a period of existence or persistence. |
interface |
DynamicViscosity
This interface represents the dynamic viscosity. |
interface |
ElectricCapacitance
This interface represents an electric capacitance. |
interface |
ElectricCharge
This interface represents an electric charge. |
interface |
ElectricConductance
This interface represents an electric conductance. |
interface |
ElectricCurrent
This interface represents the amount of electric charge flowing past a specified circuit point per unit time. |
interface |
ElectricInductance
This interface represents an electric inductance. |
interface |
ElectricPotential
This interface represents an electric potential or electromotive force. |
interface |
ElectricResistance
This interface represents an electric resistance. |
interface |
Energy
This interface represents the capacity of a physical system to do work. |
interface |
Force
This interface represents a quantity that tends to produce an acceleration of a body in the direction of its application. |
interface |
Frequency
This interface represents the number of times a specified phenomenon occurs within a specified interval. |
interface |
Illuminance
This interface represents an illuminance. |
interface |
KinematicViscosity
This interface represents the diffusion of momentum. |
interface |
Length
This interface represents the extent of something along its greatest dimension or the extent of space between two objects or places. |
interface |
LuminousFlux
This interface represents a luminous flux. |
interface |
LuminousIntensity
This interface represents the luminous flux density per solid angle as measured in a given direction relative to the emitting source. |
interface |
MagneticFlux
This interface represents a magnetic flux. |
interface |
MagneticFluxDensity
This interface represents a magnetic flux density. |
interface |
Mass
This interface represents the measure of the quantity of matter that a body or an object contains. |
interface |
MassFlowRate
This interface represents the movement of mass per time. |
interface |
Power
This interface represents the rate at which work is done. |
interface |
Pressure
This interface represents a force applied uniformly over a surface. |
interface |
RadiationDoseAbsorbed
This interface represents the amount of energy deposited per unit of mass. |
interface |
RadiationDoseEffective
This interface represents the effective (or "equivalent") dose of radiation received by a human or some other living organism. |
interface |
RadioactiveActivity
This interface represents a radioactive activity. |
interface |
SolidAngle
This interface represents the angle formed by three or more planes intersecting at a common point. |
interface |
Temperature
This class represents the degree of hotness or coldness of a body or an environment. |
interface |
Torque
This interface represents the moment of a force. |
interface |
Velocity
This interface represents a distance traveled divided by the time of travel. |
interface |
Volume
This interface represents the amount of space occupied by a three-dimensional object or region of space, expressed in cubic units. |
interface |
VolumetricDensity
This interface represents a mass per unit volume of a substance under specified conditions of pressure and temperature. |
interface |
VolumetricFlowRate
This interface represents the volume of fluid passing a point in a system per unit of time. |
Uses of Quantity in javax.measure.unit |
---|
Classes in javax.measure.unit with type parameters of type Quantity | |
---|---|
class |
AlternateUnit<Q extends Quantity>
This class represents the units used in expressions to distinguish between quantities of a different nature but of the same dimensions. |
class |
BaseUnit<Q extends Quantity>
This class represents the building blocks on top of which all others units are created. |
class |
CompoundUnit<Q extends Quantity>
This class represents the multi-radix units (such as "hour:min:sec"). |
class |
DerivedUnit<Q extends Quantity>
This class identifies the units created by combining or transforming other units. |
class |
ProductUnit<Q extends Quantity>
This class represents units formed by the product of rational powers of existing units. |
class |
TransformedUnit<Q extends Quantity>
This class represents the units derived from other units using converters . |
class |
Unit<Q extends Quantity>
This class represents a determinate quantity (as of length, time, heat, or value) adopted as a standard
of measurement. |
Methods in javax.measure.unit with type parameters of type Quantity | ||
---|---|---|
|
Unit.alternate(java.lang.String symbol)
Returns a unit equivalent to this unit but used in expressions to distinguish between quantities of a different nature but of the same dimensions. |
|
|
Unit.asType(java.lang.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. |
|
static
|
SI.ATTO(Unit<Q> unit)
Returns the specified unit multiplied by the factor 10-18 |
|
static
|
SI.CENTI(Unit<Q> unit)
Returns the specified unit multiplied by the factor 10-2 |
|
static
|
SI.DECI(Unit<Q> unit)
Returns the specified unit multiplied by the factor 10-1 |
|
static
|
SI.DEKA(Unit<Q> unit)
Returns the specified unit multiplied by the factor 101 |
|
static
|
SI.EXA(Unit<Q> unit)
Returns the specified unit multiplied by the factor 1018 |
|
static
|
SI.FEMTO(Unit<Q> unit)
Returns the specified unit multiplied by the factor 10-15 |
|
static
|
SI.GIGA(Unit<Q> unit)
Returns the specified unit multiplied by the factor 109 |
|
static
|
SI.HECTO(Unit<Q> unit)
Returns the specified unit multiplied by the factor 102 |
|
static
|
SI.KILO(Unit<Q> unit)
Returns the specified unit multiplied by the factor 103 |
|
static
|
SI.MEGA(Unit<Q> unit)
Returns the specified unit multiplied by the factor 106 |
|
static
|
SI.MICRO(Unit<Q> unit)
Returns the specified unit multiplied by the factor 10-6 |
|
static
|
SI.MILLI(Unit<Q> unit)
Returns the specified unit multiplied by the factor 10-3 |
|
static
|
SI.NANO(Unit<Q> unit)
Returns the specified unit multiplied by the factor 10-9 |
|
static
|
SI.PETA(Unit<Q> unit)
Returns the specified unit multiplied by the factor 1015 |
|
static
|
SI.PICO(Unit<Q> unit)
Returns the specified unit multiplied by the factor 10-12 |
|
static
|
SI.TERA(Unit<Q> unit)
Returns the specified unit multiplied by the factor 1012 |
|
static
|
SI.YOCTO(Unit<Q> unit)
Returns the specified unit multiplied by the factor 10-24 |
|
static
|
SI.YOTTA(Unit<Q> unit)
Returns the specified unit multiplied by the factor 1024 |
|
static
|
SI.ZEPTO(Unit<Q> unit)
Returns the specified unit multiplied by the factor 10-21 |
|
static
|
SI.ZETTA(Unit<Q> unit)
Returns the specified unit multiplied by the factor 1021 |
Methods in javax.measure.unit that return types with arguments of type Quantity | |
---|---|
Unit<? extends Quantity> |
Unit.divide(Unit<?> that)
Returns the quotient of this unit with the one specified. |
Unit<? extends Quantity> |
ProductUnit.getUnit(int index)
Returns the unit at the specified position. |
Unit<? extends Quantity> |
Unit.inverse()
Returns the inverse of this unit. |
abstract Unit<? extends Quantity> |
UnitFormat.parseProductUnit(java.lang.CharSequence csq,
java.text.ParsePosition pos)
Parses a sequence of character to produce a unit or a rational product of unit. |
Unit<? extends Quantity> |
UnitFormat.DefaultFormat.parseProductUnit(java.lang.CharSequence csq,
java.text.ParsePosition pos)
|
abstract Unit<? extends Quantity> |
UnitFormat.parseSingleUnit(java.lang.CharSequence csq,
java.text.ParsePosition pos)
Parses a sequence of character to produce a single unit. |
Unit<? extends Quantity> |
UnitFormat.DefaultFormat.parseSingleUnit(java.lang.CharSequence csq,
java.text.ParsePosition pos)
|
Unit<? extends Quantity> |
Unit.pow(int n)
Returns a unit equals to this unit raised to an exponent. |
Unit<? extends Quantity> |
Unit.root(int n)
Returns a unit equals to the given root of this unit. |
Unit<? extends Quantity> |
Unit.times(Unit<?> that)
Returns the product of this unit with the one specified. |
static Unit<? extends Quantity> |
Unit.valueOf(java.lang.CharSequence csq)
Returns a unit instance that is defined from the specified character sequence using the standard unit format . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |