Package javax.measure.test.quantity
Class VolumeQuantity
- All Implemented Interfaces:
 Comparable<Quantity<Volume>>,Quantity<Volume>
- Version:
 - 0.6
 - 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
ConstructorsConstructorDescriptionVolumeQuantity(double val, VolumeUnit un) VolumeQuantity(Number val, Unit un)  - 
Method Summary
Modifier and TypeMethodDescriptionadd(VolumeQuantity d1) convert(VolumeUnit newUnit) divide(double v) Quantity<?>divide(AreaQuantity a1) booleaneq(VolumeQuantity d1) booleange(VolumeQuantity d1) booleangt(VolumeQuantity d1) inverse()booleanle(VolumeQuantity d1) booleanlt(VolumeQuantity d1) multiply(double v) Quantity<?>booleanne(VolumeQuantity d1) negate()showInUnits(VolumeUnit u, int precision) Methods inherited from class TestQuantity
add, compareTo, eq, ge, getScale, getType, getUnit, getValue, gt, isEquivalentTo, le, lt, ne, showInUnits, subtract, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Quantity
toSystemUnit 
- 
Constructor Details
- 
VolumeQuantity
public VolumeQuantity() - 
VolumeQuantity
 - 
VolumeQuantity
 
 - 
 - 
Method Details
- 
add
 - 
subtract
 - 
eq
 - 
ne
 - 
gt
 - 
lt
 - 
ge
 - 
le
 - 
multiply
 - 
divide
 - 
divide
 - 
divide
 - 
convert
 - 
showInUnits
 - 
divide
 - 
subtract
 - 
add
 - 
divide
 - 
inverse
 - 
multiply
 - 
to
 - 
multiply
 - 
negate
 - 
asType
- Throws:
 ClassCastException
 
 -