Uses of Interface
com.rubecula.units.Measurable

Packages that use Measurable
com.rubecula.jquantity

JQuantity Contents: Copyright Notice Overview JQuantity Philosophy Programming Conventions Package Structure
Class Structure Links Important Note about the links to classes in this document:  This document appears in two different places: the source tree and the doc tree (where it is placed by the javadoc program). 

com.rubecula.units JQuantity/units. 
 

Uses of Measurable in com.rubecula.jquantity
 

Classes in com.rubecula.jquantity that implement Measurable
 class JQuantity
          This class represents a quantity, that is to say a value and its units.
 

Fields in com.rubecula.jquantity declared as Measurable
private  Measurable JQuantity._Units
          The units of this JQuantity.
 

Methods in com.rubecula.jquantity that return Measurable
protected  Measurable JQuantity.getUnit()
          Accessor method to get the unit represented by this JQuantity.
(package private)  Measurable JQuantity.createUnits(UnitsName name, SystemFlag system)
          Create a new unit from this quantity and call it by name.
 

Methods in com.rubecula.jquantity with parameters of type Measurable
 boolean JQuantity.isParallel(Measurable that)
          Method to determine if this Measurable is parallel to that Measurable.
protected  void JQuantity.normalize(Measurable units)
          MUTATING instance method to normalize this object by setting the units as specified and adjusting the value accordingly.
 JQuantity JQuantity.convertUnits(Measurable newUnits)
           
 

Constructors in com.rubecula.jquantity with parameters of type Measurable
JQuantity(BaseNumber number, Measurable units)
          Primary constructor for a new JQuantity.
 

Uses of Measurable in com.rubecula.units
 

Classes in com.rubecula.units that implement Measurable
 class BaseUnit
          This abstract class represents, in its most primitive form, a unit of the Systeme International (SI).
 class FlatUnit
          The public class FlatUnit is used to describe a Measurable which has been flattened out so that all its dimensions and its scale are readily apparent.
 class SiUnit
          This class represents, in its most primitive form, a unit of the Systeme International (SI).
 class Units
          This class extends UnitsFoundation by adding instance fields: _A, _B, _PowerA, _PowerB, _Scale, _Offset and _System.
 class UnitsFoundation
          The public abstract class UnitsFoundation is the base class from which the other Units (Measurable) classes are derived.
 

Fields in com.rubecula.units declared as Measurable
private  Measurable Units._A
           
private  Measurable Units._B
           
 

Methods in com.rubecula.units that return Measurable
(package private)  Measurable UnitsTable.put(Measurable unit)
          Method to insert a unit in this table.
 Measurable UnitsTable.lookup(java.lang.String name, boolean matchOK)
          Method to lookup a Measurable by key (or by matching the name if matchOK is true) in this UnitsTable.
 Measurable UnitsTable.lookup(java.lang.String name)
          Method to lookup a Measurable by key.
 Measurable UnitsTable.match(Measurable units)
          Method to lookup a Measurable by key (or by matching the name if matchOK is true) in this UnitsTable.
 Measurable UnitsTable.findParallel(Measurable units, SystemFlag system, boolean named)
          Method to lookup a Measurable from this which is parallel to units and which is in system (if specified)
 Measurable UnitsTable.findParallel(Measurable units, SystemFlag system)
          Method to lookup a Measurable from this which is parallel to units and which is in system (if specified).
 Measurable UnitsTable.findParallel(Measurable units)
          Method to lookup a Measurable from this which is parallel to units.
(package private)  Measurable UnitsSI.put(Measurable unit)
           
(package private)  Measurable UnitsImperial.put(Measurable unit)
           
(package private)  Measurable UnitsCGS.put(Measurable unit)
           
 Measurable UnitsAll.assign(Measurable unit)
           
 Measurable UnitsAll.lookup(java.lang.String name, boolean matchOK)
           
 Measurable UnitsAll.lookup(java.lang.String name)
           
 Measurable UnitsAll.findParallel(Measurable units, SystemFlag system, boolean named)
          Method to find a parallel units in the same system as units, failing that a parallel units in the SI system, failing that return units.
 Measurable Units.convertToSystem(int systemIndex)
          method convertToSystem forces the system index of the result to be systemIndex (scaling as appropriate).
static Measurable Units.Sum(Measurable x, Measurable y)
           
 

Methods in com.rubecula.units with parameters of type Measurable
(package private)  Measurable UnitsTable.put(Measurable unit)
          Method to insert a unit in this table.
 Measurable UnitsTable.match(Measurable units)
          Method to lookup a Measurable by key (or by matching the name if matchOK is true) in this UnitsTable.
 Measurable UnitsTable.findParallel(Measurable units, SystemFlag system, boolean named)
          Method to lookup a Measurable from this which is parallel to units and which is in system (if specified)
 Measurable UnitsTable.findParallel(Measurable units, SystemFlag system)
          Method to lookup a Measurable from this which is parallel to units and which is in system (if specified).
 Measurable UnitsTable.findParallel(Measurable units)
          Method to lookup a Measurable from this which is parallel to units.
(package private)  Measurable UnitsSI.put(Measurable unit)
           
(package private)  Measurable UnitsImperial.put(Measurable unit)
           
(package private)  Measurable UnitsCGS.put(Measurable unit)
           
 Measurable UnitsAll.assign(Measurable unit)
           
 Measurable UnitsAll.findParallel(Measurable units, SystemFlag system, boolean named)
          Method to find a parallel units in the same system as units, failing that a parallel units in the SI system, failing that return units.
 int Units.compareTo(Measurable val)
          Compares this Units with the specified Measurable.
(package private)  Units Units.combine(Rational powerA, Measurable B, Rational powerB)
           
 Units Units.sum(Measurable addend, Rational power)
           
 Units Units.sum(Measurable addend)
           
(package private)  Units Units.difference(Measurable addend)
           
(package private)  boolean Units.isEqual(Measurable other)
           
 Rational Units.scaleToUnits(Measurable base, Rational value)
          This method converts value which is expressed in this Units into a value expressed in base units.
static Measurable Units.Sum(Measurable x, Measurable y)
           
 boolean Measurable.isParallel(Measurable that)
          Method to determine if this Measurable is parallel to that Measurable.
 boolean FlatUnit.isEqual(Measurable other)
           
 boolean BaseUnit.isParallelInSystem(Measurable that, SystemFlag system)
          Method to determine if this Measurable is parallel to that Measurable AND if this is in the system specified.
 boolean BaseUnit.isParallel(Measurable that)
          Method to determine if this Measurable is parallel to that Measurable.
(package private)  boolean BaseUnit.isEqual(Measurable other)
          Method to determine if this BaseUnit is equivalent to that Measurable.
 

Constructors in com.rubecula.units with parameters of type Measurable
Units(UnitsName name, SystemFlag system, Rational scale, Rational powerA, Measurable A, Rational powerB, Measurable B, Rational offset)
           
Units(UnitsName name, SystemFlag system, Rational scale, Rational powerA, Measurable A, Rational powerB, Measurable B)
           
Units(UnitsName name, SystemFlag system, Rational scale, Rational powerA, Measurable A)
           
Units(UnitsName name, SystemFlag system, Rational scale, Measurable A)
           
Units(java.lang.String name, Measurable base, SystemFlag flag)
           
Units(java.lang.String name, Measurable base)
           
Units(Measurable base)
           
FlatUnit(Measurable other)
          Constructor to copy another Measurable.