<?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>ExecutorService#submit を使ったサンプルのメモです。Executor#execute でもタスクの実行はできますが、ExecutorService#submit を使うとタスクの結果 ( Future ) が得られるという感じですかね。実際のサンプルの以下の感じです。■ ExecutorExample.java package com.example.executor; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutionException; imp…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa4dosanddos.hatenablog.com%2Fentry%2F2016%2F04%2F03%2F233804&quot; title=&quot;ExecutorService#submit を使ったサンプル - プログラム日記&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>2016-04-03 23:38:04</published>
  <title>ExecutorService#submit を使ったサンプル</title>
  <type>rich</type>
  <url>https://a4dosanddos.hatenablog.com/entry/2016/04/03/233804</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
