<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amachang</author_name>
  <author_url>https://blog.hatena.ne.jp/amachang/</author_url>
  <blog_title>IT戦記</blog_title>
  <blog_url>https://amachang.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>はじめに 今日読んだところ 143 ページ〜 159 ページ 前回はこちら Effective Java 読書会 7 日目 「PECS! PECS! PECS!」 - IT戦記 int 定数とか使わない 型安全じゃないから enum 使う enum Hoge { FOO, BAR; } 簡単 メソッドも持てる enum Hoge { FOO, BAR; void a() { /* (snip) */ } } で、以下のように使う Hoge.FOO.a(); シングルトンも 最近の Java では enum でやるらしい！ switch 文の代わりに固有メソッド enum Hoge { FOO …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famachang.hatenablog.com%2Fentry%2F20100225%2F1267114471&quot; title=&quot; Effective Java 読書会 8 日目 「それ enum で出来るよ」 - IT戦記&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>http://serif.hatelabo.jp/images/cache/a2504c7ccb748c24565b1feb73f6bf2192e81383/97425c21b5d7654724f239129dc90473ac9ea988.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-02-25 01:14:31</published>
  <title> Effective Java 読書会 8 日目 「それ enum で出来るよ」</title>
  <type>rich</type>
  <url>https://amachang.hatenablog.com/entry/20100225/1267114471</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
