ucar.units
Class UnitSystemManager
java.lang.Object
ucar.units.UnitSystemManager
- All Implemented Interfaces:
- Serializable
public final class UnitSystemManager
- extends Object
- implements Serializable
Provides support for managing a UnitSystem.
- Version:
- $Id: UnitSystemManager.java 64 2006-07-12 22:30:50Z edavis $
- Author:
- Steven R. Emmerson
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnitSystemManager
public UnitSystemManager()
instance
public static final UnitSystem instance()
throws UnitSystemException
- Returns an instance of the system of units.
- Returns:
- An instance of the system of units.
- Throws:
UnitSystemException
setInstance
public static final void setInstance(UnitSystem instance)
throws UnitSystemException
- Sets the system of units. This must be called before any call to
instance().
- Parameters:
instance - The system of units.
- Throws:
UnitSystemException - instance() was called earlier.
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.