Hacker News new | ask | show | jobs
by chapium 1778 days ago
There is also Objects.equals if you don’t want the ambiguity of “==“.

The main reason I find myself second guessing this one is if you get used to the convention of other languages and then switch over to java.