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

Variable Index

 o verbose

Constructor Index

 o UnitTab()

Method Index

 o findAmbiguities()
Finds ambiguities in units definitions.
 o load(String)
 o read(String)
 o save(String)

Variables

 o verbose
 public static boolean verbose

Constructors

 o UnitTab
 public UnitTab()

Methods

 o read
 public static void read(String src) throws IOException
 o save
 public static void save(String filename) throws IOException
 o load
 public static void load(String src) throws IOException, ClassNotFoundException
 o 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