public interface SystemOfUnits
Imperial
system would have many of the
units held by the US
Customary system).Modifier and Type | Method and Description |
---|---|
String |
getName() |
<Q extends Quantity<Q>> |
getUnit(Class<Q> quantityType)
Returns the default unit for the specified quantity.
|
Set<? extends Unit<?>> |
getUnits()
Returns a read only view over the units defined in this system.
|
Set<? extends Unit<?>> |
getUnits(Dimension dimension)
Returns the units defined in this system having the specified dimension
(convenience method).
|
<Q extends Quantity<Q>> Unit<Q> getUnit(Class<Q> quantityType)
Q
- the compile-time quantity type.quantityType
- the quantity type.Set<? extends Unit<?>> getUnits()
Copyright © 2014–2015 Jean-Marie Dautelle, Werner Keil, V2COM. All rights reserved.