<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bleis-tift</author_name>
  <author_url>https://blog.hatena.ne.jp/bleis-tift/</author_url>
  <blog_title>ぐるぐる～</blog_title>
  <blog_url>https://bleis-tift.hatenablog.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Java</anon>
  </categories>
  <description>一昨日の読書会で空のコンストラクタを強要することの是非から、イミュータブルについて、更に値を保持することを目的としたクラスで「使用不可能」や「まだどうなるか分からない」ことを表す方法について話が発展していった中で、自分がよく使う方法を紹介した。 とりあえず、その場ではかなり簡単な説明で済ませたので、もう少し詳しくここで補足しておきますね。 そのときに例として出ていたPointクラスをここでも使用するとして、まずは一番単純な例から。 C#では、 public sealed class Point { public readonly bool IsValid; public readonly in…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbleis-tift.hatenablog.com%2Fentry%2F20080916%2F1221496279&quot; title=&quot;値を保持することを目的としたクラス - ぐるぐる～&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>2008-09-16 01:31:19</published>
  <title>値を保持することを目的としたクラス</title>
  <type>rich</type>
  <url>https://bleis-tift.hatenablog.com/entry/20080916/1221496279</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
