{"blog_title":"\u65e5\u3005\u5e38\u3005","width":"100%","blog_url":"https://irof.hateblo.jp/","provider_name":"Hatena Blog","height":"190","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Firof.hateblo.jp%2Fentry%2F20110628%2Fp1\" title=\"equals\u3060\u3051\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9 - \u65e5\u3005\u5e38\u3005\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","published":"2011-06-28 00:00:01","url":"https://irof.hateblo.jp/entry/20110628/p1","categories":["Java","Java\u5165\u9580+\u03b1"],"author_url":"https://blog.hatena.ne.jp/irof/","image_url":null,"type":"rich","author_name":"irof","description":"\u4f55\u3068\u6bd4\u3079\u3066\u3082\u540c\u3058\u3063\u3066\u8a00\u3046\u30af\u30e9\u30b9A\u304c\u3042\u3063\u3066\u3002 class A { @Override public boolean equals(Object obj) { return true; } } \u3053\u3046\u3059\u308b\u3068\uff1f Collection set = new HashSet(); Collection list = new ArrayList(); set.add(new A()); set.add(new A()); list.add(new A()); list.add(new A()); System.out.println(set.contains(new A())); System.out.pri\u2026","title":"equals\u3060\u3051\u3092\u30aa\u30fc\u30d0\u30fc\u30e9\u30a4\u30c9"}