<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naotsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/Naotsugu/</author_url>
  <blog_title>A Memorandum</blog_title>
  <blog_url>https://blog1.mammb.com/</blog_url>
  <categories>
    <anon>Java</anon>
  </categories>
  <description>こんな関数用のインターフェース用意してあげて、 public interface F&lt;R, T&gt; { R apply(T t); } シーケンスクラスをこんな感じで作ってあげて、foreacch で関数インターフェース取るようにして、 public class Seq&lt;E&gt; { private List&lt;E&gt; list = new ArrayList&lt;&gt;(); public Seq(T... ts) { list.addAll(Arrays.asList(ts)); } public void print() { System.out.println(list); } public void …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20120514%2F1337010895&quot; title=&quot;あの・・ Java で関数型っぽい書き方ができてしまいましたケド。 - A Memorandum&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-05-14 00:54:55</published>
  <title>あの・・ Java で関数型っぽい書き方ができてしまいましたケド。</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/20120514/1337010895</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
