<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mike_neck</author_name>
  <author_url>https://blog.hatena.ne.jp/mike_neck/</author_url>
  <blog_title>mike-neckのブログ</blog_title>
  <blog_url>https://mike-neck.hatenadiary.com/</blog_url>
  <categories>
    <anon>java</anon>
  </categories>
  <description>ヒドイコードを書いたので忘れないようにメモっておく(忘れないとは言ってない) 前提 Java7 guava18.0 使用 やりたいこと Optional の中の値に対して filter して isPresent の結果がほしい 書いたコード 例： Optional&lt;Integer&gt; に対して value &gt; 0 の filter をかける final Optional&lt;Integer&gt; object = ...; final boolean result = object.transform(new Function&lt;Integer, Optional&lt;Integer&gt;&gt;() { @Overr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmike-neck.hatenadiary.com%2Fentry%2F2017%2F10%2F26%2F080000&quot; title=&quot;昨日書いたダメなコード - mike-neckのブログ&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>2017-10-26 08:00:00</published>
  <title>昨日書いたダメなコード</title>
  <type>rich</type>
  <url>https://mike-neck.hatenadiary.com/entry/2017/10/26/080000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
