Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for "===" equivalent in Java

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Jul 1, 2019 at 14:24 comment added ChiliChonka My advice is to use Objects.equals, Objects.deepEquals, Objects.hash, Objects.compare for stuff like that. The Objects class already contains a lot of your functionality you were coding by yourself. And it does null checks for you as well. One more benefit, it is tested and it does not happen that you insert a mistake.
Jun 24, 2019 at 7:37 history edited FutureJJ CC BY-SA 4.0
added 1057 characters in body
Jun 24, 2019 at 3:04 comment added JG7 This seems like it was a fun little project. +1 for going for it
Jun 23, 2019 at 11:12 history edited FutureJJ CC BY-SA 4.0
added 66 characters in body
Jun 23, 2019 at 10:44 history edited FutureJJ CC BY-SA 4.0
added 141 characters in body
Jun 23, 2019 at 10:34 history edited FutureJJ CC BY-SA 4.0
added 39 characters in body
Jun 23, 2019 at 10:29 history answered FutureJJ CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /