Package javax.measure.test.quantity
Class AreaQuantity
- Version:
- 0.7
- Author:
- Werner Keil
-
Nested Class Summary
Nested classes/interfaces inherited from interface Quantity
Quantity.Scale
-
Field Summary
Fields inherited from class TestQuantity
ONE, scalar, unit, value
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(AreaQuantity d1) divide
(double v) Quantity<?>
boolean
eq
(AreaQuantity d1) boolean
ge
(AreaQuantity d1) boolean
gt
(AreaQuantity d1) inverse()
boolean
le
(AreaQuantity d1) boolean
lt
(AreaQuantity d1) multiply
(double v) Quantity<?>
boolean
ne
(AreaQuantity d1) negate()
showInUnits
(AreaUnit u, int precision) subtract
(AreaQuantity d1) Methods inherited from class TestQuantity
add, compareTo, eq, ge, getScale, getType, getUnit, getValue, gt, isEquivalentTo, le, lt, ne, showInUnits, subtract, toString
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface Quantity
getScale, getUnit, getValue, isEquivalentTo, toSystemUnit
-
Constructor Details
-
AreaQuantity
public AreaQuantity() -
AreaQuantity
-
AreaQuantity
-
-
Method Details
-
add
-
subtract
-
eq
-
ne
-
gt
-
lt
-
ge
-
le
-
multiply
-
divide
-
divide
-
multiply
-
convert
-
showInUnits
-
multiply
-
divide
-
to
-
subtract
-
add
-
divide
-
inverse
-
multiply
-
asType
- Specified by:
asType
in interfaceQuantity<Area>
- Throws:
ClassCastException
-
negate
-