Annotation Interface UnitsMultiple
Define the relation between a base unit and the current unit.
 
TODO: add support for factors and more general formulas? E.g. it would be cool if the relation hour → minute and Fahrenheit → Celsius could be expressed.
- See the Checker Framework Manual:
- Units Checker
- 
Required Element SummaryRequired ElementsModifier and TypeRequired ElementDescriptionClass<? extends Annotation>Returns the base unit to use.
- 
Optional Element SummaryOptional Elements
- 
Element Details- 
quantityClass<? extends Annotation> quantityReturns the base unit to use.- Returns:
- the base unit to use
 
 
- 
- 
- 
prefixPrefix prefixReturns the scaling prefix.- Returns:
- the scaling prefix
 - Default:
- one
 
 
-