<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chiopino</author_name>
  <author_url>https://blog.hatena.ne.jp/chiopino/</author_url>
  <blog_title>dosyaburi</blog_title>
  <blog_url>https://dosyaburi.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>Adapterパターンとは コード例1（継承 実装例1（継承 コード例2（委譲 実装例2（委譲 特徴 補足 Adapterパターンとは adapte(アダプター)と聞いて何を思い浮かべるでしょうか。 代表的なものの一つにACアダプターがあります。 ACアダプターはコンセントから供給される100vの交流電流を5vの直流電流に変換したりするものです。adapterパターンではシグネチャAのメソッドで用意されている機能をシグネチャBで呼び出したいような時に使用します。 簡単に例えると、コンソール出力に毎回System.out.println(&quot;hogehuga&quot;)を書くと長くなるから新たにprint…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdosyaburi.hateblo.jp%2Fentry%2F2021%2F06%2F13%2F000000&quot; title=&quot;デザインパターン Adapterパターンについて勉強した - dosyaburi&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>2021-06-13 00:00:00</published>
  <title>デザインパターン Adapterパターンについて勉強した</title>
  <type>rich</type>
  <url>https://dosyaburi.hateblo.jp/entry/2021/06/13/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
