{"width":"100%","author_url":"https://blog.hatena.ne.jp/gloryof/","blog_url":"https://gloryof.hatenablog.com/","published":"2014-05-11 17:06:43","image_url":null,"version":"1.0","categories":["Java8"],"description":"\u3010\u524d\u63d0\u6761\u4ef6\u3011 [\u74b0\u5883] JDK 8.0 NetBeans 8.0 [\u53c2\u8003\u8cc7\u6599] Java8 API\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 Java Platform SE 8 \u3010\u6982\u8981\u3011 \u4eca\u56de\u306fOptional\u3092\u4f7f\u3063\u305fNull\u306e\u30c1\u30a7\u30c3\u30af\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002 \u3010isPresent\u30e1\u30bd\u30c3\u30c9\u3011 isPresent\u30e1\u30bd\u30c3\u30c9\u306fOptional\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5024\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u304b\u3092 \u30c1\u30a7\u30c3\u30af\u3059\u308b\u30e1\u30bd\u30c3\u30c9\u3067\u3059\u3002 final Optional<String> value = Optional.of(\"test\"); if (value.isPresent()) { } \u52d5\u304d\u3068\u3057\u3066\u306f\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3068\u307b\u307c\u540c\u3058\u3067\u3059\u3002 final Option\u2026","type":"rich","height":"190","provider_url":"https://hatena.blog","blog_title":"\u30b7\u30e5\u30f3\u30c4\u306e\u3064\u307e\u3065\u304d\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgloryof.hatenablog.com%2Fentry%2F20140511%2F1399795603\" title=\"Optional\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u305f\u3000\u305d\u306e3 - \u30b7\u30e5\u30f3\u30c4\u306e\u3064\u307e\u3065\u304d\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://gloryof.hatenablog.com/entry/20140511/1399795603","title":"Optional\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u305f\u3000\u305d\u306e3","author_name":"gloryof","provider_name":"Hatena Blog"}