{"blog_title":"by shigemk2","categories":["Scala"],"provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://www.shigemk2.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2Fscala_map_collect\" title=\"Map\u3067collect - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2015-11-27 22:57:00","width":"100%","height":"190","url":"https://www.shigemk2.com/entry/scala_map_collect","type":"rich","author_url":"https://blog.hatena.ne.jp/shigemk2/","provider_name":"Hatena Blog","version":"1.0","title":"Map\u3067collect","author_name":"shigemk2","description":"Scala\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30e1\u30bd\u30c3\u30c9\u30e1\u30e2(Hishidama's Scala collection method Memo) filter\u3068map\u3092\u7d44\u307f\u5408\u308f\u305b\u305f\u3084\u3064\u306a\u306e\u3067\u3001\u3053\u3093\u306a\u611f\u3058\u3067filter\u307d\u304f\u304b\u3051\u308b\u3057map\u307d\u304f\u3082\u304b\u3051\u308b\u3002 Traversable\u306a\u306e\u3067\u3001List\u3067\u3082Map\u3067\u3082\u3044\u3051\u308b\u3002 scala> val m = Map(\"name\" -> \"hoge\", \"currency\" -> Some(\"USD\")) m: scala.collection.immutable.Map[String,java.io.Serializable] = Map(name -> hoge, currency -\u2026"}