|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.rubecula.jquantity.Item
|
+--com.rubecula.jquantity.BaseUnit
This abstract class represents, in its most primitive form, a unit of the Systeme International (SI). Only the dimension (type) of unit is represented here.
| Constructor Summary | |
BaseUnit()
|
|
| Method Summary | |
abstract BaseUnit |
flatten()
Method to reduce a Units tree to a single flattened version. |
(package private) boolean |
isEqual(Measurable other)
Method to determine if this BaseUnit is equivalent to that Measurable. |
boolean |
isInSystem(int sysIndex)
Method to determine if this Measurable is in a certain system of units. |
boolean |
isNumber()
Method to determine if this is dimensionless (i.e. |
boolean |
isParallel(Measurable that)
Method to determine if this Measurable is parallel to that Measurable. |
| Methods inherited from class com.rubecula.jquantity.Item |
audit, audit, compareTo, Debug, getClassNameShort, getType, IsDebug, present, SetDebug, test, test, toString, Wrap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rubecula.jquantity.Measurable |
getDimensions, getOffset, getScale |
| Methods inherited from interface com.rubecula.util.Presentable |
makePresentableInstance, present |
| Methods inherited from interface com.rubecula.util.Auditable |
audit |
| Methods inherited from interface com.rubecula.util.Identifiable |
getIdentifier |
| Constructor Detail |
public BaseUnit()
| Method Detail |
public abstract BaseUnit flatten()
throws JQuantityException
JQuantityExceptionpublic boolean isInSystem(int sysIndex)
sysIndex - the index of the units system.
public boolean isNumber()
public boolean isParallel(Measurable that)
that - the Measurable to compare.
boolean isEqual(Measurable other)
other - the Measurable to compare.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||