Quantcast
Channel: User Federico klez Culloca - Stack Overflow
Viewing all articles
Browse latest Browse all 492

Answer by Federico klez Culloca for why override java's equals() method this way?

$
0
0

Because if this == o it means that both this and o are actually the same object, so they are equal by definition and there's no need for further comparisons.


Viewing all articles
Browse latest Browse all 492

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>