Package org.xspace.mx.physics.immutable

This Mx package provides an implementation of the physics package with immutable classes.

See:
          Description

Class Summary
Angle A base unit from which other angle units can be derived.
AstronomicalUnit A Measurement representing an Astronomical Unit.
BaseUnit The class from which all other units in this package are derived.
Centimeter A Measurement representing a centimeter.
Day A Measurement representing a solar day.
Degree A Measurement representing an angular degree.
Foot A Measurement representing a foot.
Force A base unit from which other force units can be derived.
Hour A Measurement representing an hour.
Inch A Measurement representing an inch.
Kilogram A Measurement representing a kilogram.
Kilometer A Measurement representing a kilometer.
Length A base unit from which other length units can be derived.
Mass A base unit from which other mass units can be derived.
Meter A Measurement representing a meter.
Mile A Measurement representing a mile.
Minute A Measurement representing a minute.
Newton A Measurement representing a Newton.
PoundForce A Measurement representing a pound of force.
Radian A Measurement representing a radian.
Revolution A Measurement representing an angular revolution.
Second A Measurement representing a second.
SiderealDay A Measurement representing a sidereal day
Time A base unit from which other time units can be derived.
Units Helpler class to provide easy access to standard measurements.
 

Package org.xspace.mx.physics.immutable Description

This Mx package provides an implementation of the physics package with immutable classes. Every call that returns a Measurement object is a new instance that leaves the original object unmodified.

This package is easier to use than the mutable package. However, it also has a higher overhead as almost every operation creates a new Measurement object.