<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ytnk531</author_name>
  <author_url>https://blog.hatena.ne.jp/ytnk531/</author_url>
  <blog_title>マイペースなRailsおじさん</blog_title>
  <blog_url>https://ytnk531.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>java.lang.Objectのequals()とhashCode()の実装について調べました。 Object.equals() JDK 8 での実装は下記の通り、参照値を比較しているだけです。 public boolean equals(Object obj) { return (this == obj); } jdk8u/jdk8u/jdk: a71d26266469 src/share/classes/java/lang/Object.java 参照値とはすなわちオブジェクトへのポインタなので、Object.equals()は同一のインスタンスであるときだけtrueを返します。 The…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fytnk531.hatenablog.com%2Fentry%2F2018%2F07%2F15%2F001807&quot; title=&quot;Object.equals()とObject.hashCode()のデフォルト実装 - マイペースなRailsおじさん&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-07-15 00:18:07</published>
  <title>Object.equals()とObject.hashCode()のデフォルト実装</title>
  <type>rich</type>
  <url>https://ytnk531.hatenablog.com/entry/2018/07/15/001807</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
