All Packages Class Hierarchy This Package Previous Next Index
Class units.UnitTab
java.lang.Object
|
+----units.UnitTab
- public class UnitTab
- extends Object
This class represents a definition table for a system of units. It
is used to make new static bindings to the classes Dimension,
Prefix, UnitAtom, etc.
- Version:
- $Id: UnitTab.java,v 1.6 1998/09/02 17:31:48 schadow Exp $
- Author:
- Gunther Schadow
-
verbose
-
-
UnitTab()
-
-
findAmbiguities()
- Finds ambiguities in units definitions.
-
load(String)
-
-
read(String)
-
-
save(String)
-
verbose
public static boolean verbose
UnitTab
public UnitTab()
read
public static void read(String src) throws IOException
save
public static void save(String filename) throws IOException
load
public static void load(String src) throws IOException, ClassNotFoundException
findAmbiguities
public static void findAmbiguities()
- Finds ambiguities in units definitions. An ambiguity exists if
and only if there is a u1 and u2 from the set of unit atom names
and a p1 and p2 from the set of prefix names (including the empty
prefix) so that: p1+u1 = p2+u2, where u1 and u2 refer to
different units.
All Packages Class Hierarchy This Package Previous Next Index