4 ms·
Can you explain what is obviously wrong in this code?
by swah 14y ago
Can you explain what is obviously wrong in this code?
- deleted 14y ago[deleted]
- jemfinch 14y agoYou don't need to allocate a new double to call hashCode on it. You can just call hashCode on the double you already have. Out of curiosity, what language background are you coming from that this isn't obvious?