com.rubecula.jquantity
Interface Measurable

All Known Implementing Classes:
BaseUnit, JQuantity, Units

public interface Measurable

This interface specifies the methods which characterize a measurable (i.e. a Units).

Version:
$Revision: 1.1 $
Author:
Robin Hillyard

Method Summary
 Dimensions getDimensions()
          Method to return the dimensions of this Measurable.
 Rational getOffset()
          Method to return the offset of this Measurable.
 Rational getScale()
          Method to return the scale of this Measurable.
 

Method Detail

getDimensions

public Dimensions getDimensions()
Method to return the dimensions of this Measurable.

Returns:
the Dimensions.

getScale

public Rational getScale()
Method to return the scale of this Measurable.

Returns:
the scale.

getOffset

public Rational getOffset()
Method to return the offset of this Measurable.

Returns:
the offset, usually $0.