org.xspace.mx.physics.mutable
Class ImmutableLength

java.lang.Object
  extended byorg.xspace.mx.physics.mutable.BaseUnit
      extended byorg.xspace.mx.physics.mutable.Immutable
          extended byorg.xspace.mx.physics.mutable.ImmutableLength
All Implemented Interfaces:
Length, Measurement, java.io.Serializable

public class ImmutableLength
extends Immutable
implements Length

An immutable wrapper for other length units.

Since:
0.5
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.xspace.mx.physics.mutable.BaseUnit
DIM_ANGLE, DIM_LENGTH, DIM_MASS, DIM_TIME, dims, systemValue, TOL
 
Constructor Summary
ImmutableLength(Measurement protectThis)
          Creates a new instance of ImmutableLength.
 
Methods inherited from class org.xspace.mx.physics.mutable.Immutable
copy, div, div, getAbbr, getDescription, getSystem, getSystemDimensions, getSystemValue, getValue, minus, mult, mult, plus, pow, root, toString
 
Methods inherited from class org.xspace.mx.physics.mutable.BaseUnit
isSameMeasurementType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xspace.mx.Measurement
copy, div, div, getAbbr, getDescription, getSystem, getSystemDimensions, getSystemValue, getValue, minus, mult, mult, plus, pow, root
 

Constructor Detail

ImmutableLength

public ImmutableLength(Measurement protectThis)
Creates a new instance of ImmutableLength.
The dimensions of the input measurement will be checked to assure that it is a length.

Parameters:
protectThis - The other Measurement that will be protected.