|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A mutable, integral number.
Method Summary | |
boolean |
divides(MyIntegralNumber n)
Returns true if n is evenly divisible by this . |
Methods inherited from interface MyNumber |
clone,
createCompatible,
equals,
lessThan,
minus,
plus,
squareOf,
times,
toString |
Method Detail |
public boolean divides(MyIntegralNumber n)
true
if n
is evenly divisible by this
.
[The divides
method's behavior is undefined when this
is zero.]
n
- the integral number to divide intotrue
if n
is divisible by
this
; false
otherwise
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |