|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.rubecula.jquantity.DivisibleMutable
Interface to define Mutating Divisible arithmetical operations. Essentially these are operations which can transform an integer (or any number) into a non-integer.
| Constructor Summary | |
DivisibleMutable()
|
|
| Method Summary | |
abstract void |
divide(BaseNumber divisor)
MUTATING method to replace this with quotient of this over divisor. |
abstract void |
invert()
MUTATING Instance method to invert this object arithmetically (i.e. |
abstract void |
scale(double factor)
MUTATING Instance method to multiply this by a scale factor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.rubecula.jquantity.Divisible |
inverse, quotient, scaled |
| Constructor Detail |
public DivisibleMutable()
| Method Detail |
public abstract void scale(double factor)
factor - the scale factor.public abstract void invert()
public abstract void divide(BaseNumber divisor)
divisor - the value to be divided into this.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||