org.xspace.mx.physics
Class SI

java.lang.Object
  extended byorg.xspace.mx.physics.SI
All Implemented Interfaces:
SystemOfUnits

public class SI
extends java.lang.Object
implements SystemOfUnits

The Systeme International (SI) SystemOfUnits represents a standard set of physical units against which other measurments can be compared.

Since:
0.1

Nested Class Summary
static class SI.Angle
          An instance of Unit that represents an angle within the SI.
static class SI.Length
          An instance of Unit that represents a length within the SI.
static class SI.Mass
          An instance of Unit that represents a mass within the SI.
static class SI.Time
          An instance of Unit that represents a time within the SI.
 
Method Summary
static SystemOfUnits getSystem()
           
static boolean isSameMeasurementType(Measurement first, Measurement second)
          Determine whether this measurement and the other measurement are comparable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSystem

public static SystemOfUnits getSystem()

isSameMeasurementType

public static boolean isSameMeasurementType(Measurement first,
                                            Measurement second)

Determine whether this measurement and the other measurement are comparable.

Both measurements may have different numbers of dimensions. All dimensions of both measurements will be checked.