|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Measure | |
---|---|
javax.measure | Provides strongly typed measurements to enforce compile-time check of parameters consistency and avoid interface errors. |
Uses of Measure in javax.measure |
---|
Subclasses of Measure in javax.measure | |
---|---|
class |
DecimalMeasure<Q extends Quantity>
This class represents a measure whose value is an arbitrary-precision decimal number. |
class |
VectorMeasure<Q extends Quantity>
This class represents a measurement vector of two or more dimensions. |
Methods in javax.measure that return Measure | ||
---|---|---|
abstract Measure<V,Q> |
Measure.to(Unit<Q> unit)
Returns the measure equivalent to this measure but stated in the specified unit. |
|
static
|
Measure.valueOf(java.math.BigDecimal decimal,
Unit<Q> unit)
Deprecated. DecimalMeasure should be used directly. |
|
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
|
Measure.valueOf(double[] components,
Unit<Q> unit)
Deprecated. VectorMeasure should be used directly. |
|
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |