public final class UnitSystemManager
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
UnitSystemManager() |
Modifier and Type | Method and Description |
---|---|
static UnitSystem |
instance()
Returns an instance of the system of units.
|
static void |
setInstance(UnitSystem instance)
Sets the system of units.
|
public static UnitSystem instance() throws UnitSystemException
UnitSystemException
public static void setInstance(UnitSystem instance) throws UnitSystemException
instance()
.instance
- The system of units.UnitSystemException
- instance()
was called earlier.