<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>earu</author_name>
  <author_url>https://blog.hatena.ne.jp/earu/</author_url>
  <blog_title>ソフトウェアエンジニアの雑記</blog_title>
  <blog_url>https://k-sasaki.net/</blog_url>
  <categories>
    <anon>デザインパターン</anon>
    <anon>java</anon>
  </categories>
  <description>Adapterパターン Adapter パターンを用いると、既存のクラスに対して修正を加えることなく、インタフェースを変更することができる。 [Wikipedia]ということらしい。Adapterパターンには、継承を使ったパターンと委譲を使ったパターンがあるとか。 継承を使ったAdapterパターン public class Main { public static void main(String[] args) { Print p = new PrintBanner(&quot;Hello&quot;); p.printWeak(); p.printStrong(); } } interface Print …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk-sasaki.net%2Fentry%2F20120901%2F1346457820&quot; title=&quot;デザインパターン:Adapterパターン - ソフトウェアエンジニアの雑記&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>2012-09-01 09:03:40</published>
  <title>デザインパターン:Adapterパターン</title>
  <type>rich</type>
  <url>https://k-sasaki.net/entry/20120901/1346457820</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
