gnu.math
Class Dimensions
public class Dimensions
extends java.lang.Object
A Dimensions object represents the product or ratio of BaseUnits.
The idea is that in order to add two Quantities (such as 3mm + 5cm)
their Dimensions have to match. Equal dimensions are also ==.
Empty
public static Dimensions Empty
The empty Dimensions that pure numbers have.
getPower
public int getPower(BaseUnit unit)
Get the exponent for a BaseUnit in this Dimensions object.
hashCode
public final int hashCode()
toString
public String toString()