|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuavsim.datatypes.DegreesPerSecond
public class DegreesPerSecond
Defines a rate of change in degrees per second.
| Field Summary | |
|---|---|
private double |
_degreesPerSecond
the rate |
| Constructor Summary | |
|---|---|
DegreesPerSecond()
Creates a rate object at 0 degrees per second. |
|
DegreesPerSecond(double degreesPerSecond)
Creates a rate object. |
|
| Method Summary | |
|---|---|
DegreesPerSecond |
add_(DegreesPerSecond degreesPerSecond)
Adds another unit to this one. |
int |
compareTo(DegreesPerSecond degreesPerSecond)
|
double |
getValue_()
Returns the numerical value of this unit. |
private void |
setDegreesPerSecond(double degreesPerSecond)
Sets the rate |
DegreesPerSecond |
subtract_(DegreesPerSecond time)
Subtract another unit from this one. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private double _degreesPerSecond
| Constructor Detail |
|---|
public DegreesPerSecond()
public DegreesPerSecond(double degreesPerSecond)
degreesPerSecond - - the rate; a negative value is ok| Method Detail |
|---|
public DegreesPerSecond add_(DegreesPerSecond degreesPerSecond)
add_ in interface I_Unitable<DegreesPerSecond>degreesPerSecond - - the unit
public int compareTo(DegreesPerSecond degreesPerSecond)
compareTo in interface java.lang.Comparable<DegreesPerSecond>public double getValue_()
getValue_ in interface I_Unitable<DegreesPerSecond>private void setDegreesPerSecond(double degreesPerSecond)
degreesPerSecond - - the rate; a negative value is okpublic DegreesPerSecond subtract_(DegreesPerSecond time)
subtract_ in interface I_Unitable<DegreesPerSecond>time - - the unit
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||