{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseratch.hatenablog.jp%2Fentry%2F2013%2F08%2F29%2F080730\" title=\"java.lang.Integer \u3092\u3082\u3089\u3063\u3066 Option[Int] \u3092\u3064\u304f\u308b\u306e\u306f\u8981\u6ce8\u610f - seratch&#39;s weblog in Japanese\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","published":"2013-08-29 08:07:30","categories":["Scala"],"blog_title":"seratch's weblog in Japanese","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/seratch2/","author_name":"seratch2","url":"https://seratch.hatenablog.jp/entry/2013/08/29/080730","type":"rich","title":"java.lang.Integer \u3092\u3082\u3089\u3063\u3066 Option[Int] \u3092\u3064\u304f\u308b\u306e\u306f\u8981\u6ce8\u610f","width":"100%","blog_url":"https://seratch.hatenablog.jp/","image_url":null,"provider_name":"Hatena Blog","description":"Java \u3068\u306e\u67b6\u3051\u6a4b\u7684\u306a\u3082\u306e\u3092\u3064\u304f\u308b\u3068\u4e00\u5ea6\u306f\u30cf\u30de\u308b\u3068\u3053\u308d\u3067\u3059\u306d\u3002\u305d\u3046\u3044\u3048\u3070\u3042\u307e\u308a Web \u4e0a\u3067\u898b\u304b\u3051\u306a\u3044\u6c17\u304c\u3059\u308b\u306e\u3067\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002 scala> val i: java.lang.Integer = null i: java.lang.Integer = null scala> val opt: Option[Int] = Option(i) java.lang.NullPointerException at scala.Predef$.Integer2int(Predef.scala:360) at .<init>(<console>:8) at .<clinit>(<console>) \u2026","height":"190"}