Interface Quantity
- All Superinterfaces:
Comparable<Quantity>
,Serializable
- All Known Implementing Classes:
DefaultQuantity
Represents a sample.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot io)
-
Method Summary
Modifier and TypeMethodDescriptionAdd thisQuantity
to the specified one returning the result.Divide thisQuantity
by the specified one returning the result.getUnit()
double
getValue()
Access theQuantity
value.Multiply thisQuantity
with the specified one returning the result.Subtract the specifiedQuantity
from this one returning the result.Methods inherited from interface java.lang.Comparable
compareTo