Re:Java Puzzle: Square Root
by raylu on Wednesday March 20, 2013 @12:16AM
(#5405609)
You can override the .equals() for your subtype but look at the check:
It never calls root.equals(). It calls .equals() on the result of the .divide(), which is a standard java.math.BigInteger.
[ Parent
| on HN ]
There are no comments on this comment yet.