org.xspace.mx.physics.mutable
Class ImmutableTime

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

public class ImmutableTime
extends Immutable
implements Time

An immutable wrapper for other time 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
ImmutableTime(Measurement protectThis)
          Creates a new instance of ImmutableTime.
 
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

ImmutableTime

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

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