org.xspace.mx.physics
Class SI.Angle

java.lang.Object
  extended byorg.xspace.mx.physics.SI.Angle
All Implemented Interfaces:
java.io.Serializable, Unit
Enclosing class:
SI

public static class SI.Angle
extends java.lang.Object
implements Unit, java.io.Serializable

An instance of Unit that represents an angle within the SI.

See Also:
Serialized Form

Constructor Summary
SI.Angle()
           
SI.Angle(double power)
           
 
Method Summary
 double getPower()
          The power that the UnitType has been raised to.
 UnitType getType()
          A reference to UnitType that this Unit is a multiple of.
 void setPower(double power)
          The power that this Unit should be set to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SI.Angle

public SI.Angle()

SI.Angle

public SI.Angle(double power)
Method Detail

getPower

public double getPower()
Description copied from interface: Unit
The power that the UnitType has been raised to.

Specified by:
getPower in interface Unit
Returns:
The power that the UnitType has been raised to.

setPower

public void setPower(double power)
Description copied from interface: Unit
The power that this Unit should be set to.

Specified by:
setPower in interface Unit
Parameters:
power - The power that this Unit should be set to.

getType

public UnitType getType()
Description copied from interface: Unit
A reference to UnitType that this Unit is a multiple of.

Specified by:
getType in interface Unit
Returns:
A reference to UnitType that this Unit is a multiple of.