<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a4dosanddos</author_name>
  <author_url>https://blog.hatena.ne.jp/a4dosanddos/</author_url>
  <blog_title>プログラム日記</blog_title>
  <blog_url>https://a4dosanddos.hatenablog.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>ジェネリクスを利用したインタフェースを実装する抽象クラスの作成についてつまずいたのでメモ。 下記の感じのジェネリックなインタフェースがあったとします。 package com.example; public interface SampleInterface&lt;E&gt; { public E test(E e); } 上記を実装した抽象クラスを定義したくて最初下記のように作成したんですが、 これだと「E の型が解決できない」とエラーが出て怒られます。 package com.example; public abstract class SampleAbstruct implements Sample…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa4dosanddos.hatenablog.com%2Fentry%2F2020%2F06%2F26%2F234512&quot; title=&quot;「Java」ジェネリックなインタフェースを実装した抽象クラスの作成方法 - プログラム日記&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>2020-06-26 23:45:12</published>
  <title>「Java」ジェネリックなインタフェースを実装した抽象クラスの作成方法</title>
  <type>rich</type>
  <url>https://a4dosanddos.hatenablog.com/entry/2020/06/26/234512</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
