|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Measurable in com.rubecula.jquantity |
Classes in com.rubecula.jquantity 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 |
JQuantity
This class represents a quantity, that is to say a value and its units. |
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.jquantity declared as Measurable | |
private Measurable |
Units._A
|
private Measurable |
Units._B
|
private Measurable |
JQuantity._Units
The units of this JQuantity. |
Methods in com.rubecula.jquantity that return Measurable | |
(package private) Measurable |
UnitsTable.put(Measurable unit)
Method to insert a unit in this table. |
Measurable |
UnitsTable.lookup(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(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)
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 and which is in system (if specified) |
(package private) Measurable |
UnitsSI.put(Measurable unit)
|
(package private) Measurable |
UnitsImperial.put(Measurable unit)
|
(package private) Measurable |
UnitsCGS.put(Measurable unit)
|
(package private) Measurable |
UnitsAll.put(Measurable unit)
|
Measurable |
UnitsAll.lookup(String name,
boolean matchOK)
|
Measurable |
UnitsAll.lookup(String name)
|
Measurable |
UnitsAll.findParallel(Measurable units,
SystemFlag system)
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)
|
static Measurable |
Units.Sum(Measurable x,
Measurable y)
|
protected Measurable |
JQuantity.getUnit()
Accessor method to get the unit represented by this JQuantity. |
(package private) Measurable |
JQuantity.createUnits(String name)
Create a new unit from this quantity and call it by name. |
Methods in com.rubecula.jquantity 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)
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 and which is in system (if specified) |
(package private) Measurable |
UnitsSI.put(Measurable unit)
|
(package private) Measurable |
UnitsImperial.put(Measurable unit)
|
(package private) Measurable |
UnitsCGS.put(Measurable unit)
|
(package private) Measurable |
UnitsAll.put(Measurable unit)
|
Measurable |
UnitsAll.findParallel(Measurable units,
SystemFlag system)
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)
|
(package private) Units |
Units.sum(Measurable addend,
Rational power)
|
(package private) Units |
Units.sum(Measurable addend)
|
(package private) Units |
Units.difference(Measurable addend)
|
(package private) boolean |
Units.isEqual(Measurable other)
|
(package private) 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 |
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)
|
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.jquantity 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(String name,
Measurable base,
SystemFlag flag)
|
|
Units(String name,
Measurable base)
|
|
Units(Measurable base)
|
|
JQuantity(BaseNumber number,
Measurable units)
Primary constructor for a new JQuantity. |
|
FlatUnit(Measurable other)
Constructor to copy another Measurable. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |