boolean (Object obj) { if (!(obj instanceof MyUpdateRunnable that)) return false; if (myHash != that.myHash) return false; ToolbarUpdater updater1 = myUpdaterRef.get(); ToolbarUpdater updater2 = that.myUpdaterRef.get(); return Comparing.equal(updater1, updater2); }