<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>omiend</author_name>
  <author_url>https://blog.hatena.ne.jp/omiend/</author_url>
  <blog_title>the industrial</blog_title>
  <blog_url>https://omiend.hatenablog.jp/</blog_url>
  <categories>
    <anon>Scala</anon>
    <anon>PROGRAMMING</anon>
    <anon>WORK</anon>
  </categories>
  <description>まあ、当たり前かもしれないのだけど、「あ、できるんだー」という気づきがあったのでメモ Javaのメソッドに対してもアンスコで関数オブジェクトにできる（カリー化するときにも使う方法） val driver = new ChromeDriver() val fByName = driver.findElementByName _ fByName(&quot;password&quot;) 関数オブジェクトにできるということは、Javaのメソッドを高階関数の引数としても利用できる def getByF(f: (String) =&gt; WebElement, name: String) = { f(name) } getB…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fomiend.hatenablog.jp%2Fentry%2F2017%2F05%2F08%2F134112&quot; title=&quot;Scalaで、Javaのメソッドを関数オブジェクトにする方法 - the industrial&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-05-08 13:41:12</published>
  <title>Scalaで、Javaのメソッドを関数オブジェクトにする方法</title>
  <type>rich</type>
  <url>https://omiend.hatenablog.jp/entry/2017/05/08/134112</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
