public interface SystemOfUnitsService
This interface represents the service to obtain a system
of units
.
Common system of units are "SI" (System International), "Imperial" (British), "US" (US Customary).
Modifier and Type | Method and Description |
---|---|
Collection<SystemOfUnits> |
getAvailableSystemsOfUnits()
Gets a list with available systems for this
SystemOfUnitsService . |
SystemOfUnits |
getSystemOfUnits()
Returns the default
system
of units . |
SystemOfUnits |
getSystemOfUnits(String name)
Returns the system of units having the specified name or
null if none. |
SystemOfUnits getSystemOfUnits()
system
of units
. Depending on the implementation this may be the
International System of Units or another default system.SystemOfUnits getSystemOfUnits(String name)
null
if none.name
- the system of unit name.Collection<SystemOfUnits> getAvailableSystemsOfUnits()
SystemOfUnitsService
.Copyright © 2014–2015 Jean-Marie Dautelle, Werner Keil, V2COM. All rights reserved.