Uses of Class
MyFractionAlgebra
-
-
Uses of MyFractionAlgebra in <Unnamed>
Methods in <Unnamed> that return MyFractionAlgebra Modifier and Type Method Description MyFractionAlgebra
MyFractionAlgebra. add(MyFractionAlgebra opnd)
Addsopnd
to this.MyFractionAlgebra
MyFractionAlgebra. inv()
Replaces this by its reciprocal.MyFractionAlgebra
MyFractionAlgebra. mul(MyFractionAlgebra opnd)
(Post)Multiplies this byopnd
.MyFractionAlgebra
MyFractionAlgebra. pow(int exponent)
Replaces this by its power ofexponent
.MyFractionAlgebra
MyFractionAlgebra. setExact(boolean exact)
Declares that this fraction instance is considered exact.Methods in <Unnamed> with parameters of type MyFractionAlgebra Modifier and Type Method Description MyFractionAlgebra
MyFractionAlgebra. add(MyFractionAlgebra opnd)
Addsopnd
to this.int
MyFractionAlgebra. compareTo(MyFractionAlgebra other)
Returns -1 ifthis < other
, +1 ifother > this
, else 0.MyFractionAlgebra
MyFractionAlgebra. mul(MyFractionAlgebra opnd)
(Post)Multiplies this byopnd
.
-