{"id":12288,"date":"2013-09-06T18:09:40","date_gmt":"2013-09-06T09:09:40","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=12288"},"modified":"2013-09-06T18:10:12","modified_gmt":"2013-09-06T09:10:12","slug":"java-8","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/java-8\/","title":{"rendered":"Java\u30d7\u30ed\u30b0\u30e9\u30de\u306a\u3089\u6291\u3048\u3066\u304a\u304d\u305f\u3044\u300cJava 8\u306e\u3059\u3079\u3066\u300d"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2013\/09\/blogNewImage35.png\" alt=\"NewImage\" title=\"NewImage.png\" border=\"0\" width=\"560\" height=\"372\" \/><\/p>\n<p>Java\u306e\u6b21\u671f\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u30d0\u30fc\u30b8\u30e7\u30f3\u300cJava 8\u300d\u306b\u95a2\u3059\u308b\u5909\u66f4\u70b9\u306e\u6982\u8981\u304c\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3057\u305f(<a href=\"http:\/\/www.infoq.com\/jp\/news\/2013\/09\/everything-about-java-8\">Java 8\u306e\u3059\u3079\u3066<\/a>)\u3002<\/p>\n<p>\u3056\u3063\u3068\u8aad\u3093\u3067\u307f\u3066\u500b\u4eba\u7684\u306b\u4e00\u756a\u30a4\u30f3\u30d1\u30af\u30c8\u3092\u53d7\u3051\u305f\u306e\u306f\u3001<strong>\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u6539\u5584<\/strong>\u3068<strong>\u30e9\u30e0\u30c0\u306e\u5c0e\u5165<\/strong>\u3067\u3057\u3087\u3046\u304b<br \/>\n<!--more--><\/p>\n<h3>\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u6539\u5584<\/h3>\n<p>Java 8\u3067\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b<strong>static\u30e1\u30bd\u30c3\u30c9<\/strong>\u3068\u3001<strong>\u30c7\u30d5\u30a9\u30eb\u30c8\u30e1\u30bd\u30c3\u30c9<\/strong>\u306e\u5b9a\u7fa9\u304c\u53ef\u80fd\u306b\u306a\u308b\u3088\u3046\u3067\u3059\u3002\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u306f\u30e1\u30bd\u30c3\u30c9\u3092\u5b9f\u88c5\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u3001\u3053\u308c\u307e\u3067\u306e\u5e38\u8b58\u304c\u3053\u3053\u306b\u304d\u3066\u8986\u3055\u308c\u308b\u3068\u306f\u601d\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u30e1\u30bd\u30c3\u30c9\u306e\u5b9a\u7fa9\u306b\u95a2\u3057\u3066\u3001InfoQ\u306e\u8a18\u4e8b\u3060\u3068\u3061\u3087\u3063\u3068\u308f\u304b\u308a\u3065\u3089\u3044\u3067\u3059\u304c\u300c<a href=\"http:\/\/d.hatena.ne.jp\/backpaper0\/20120323\/1332517373\">Java8\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306f\u30e1\u30bd\u30c3\u30c9\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5b9f\u88c5\u3092\u6301\u3066\u308b\u8a71 - \u88cf\u7d19<\/a>\u300d\u306b\u3088\u308b\u3068\u307b\u3093\u3068\u306b\u666e\u901a\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u5b9f\u88c5\u3092\u3082\u3066\u308b\u3088\u3046\u306b\u306a\u308b\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<pre><code class=\"java\">public interface Hello {\n    String sayHello(String name) default {\n        return \"Hello, \" + name + \"!\";\n    }\n}\n<\/code><\/pre>\n<p>\u3072\u3087\u3063\u3068\u3057\u3066\u3059\u3054\u304f\u4fbf\u5229\u306a\u306e\u304b?<\/p>\n<h3>\u30e9\u30e0\u30c0\u306e\u5c0e\u5165<\/h3>\n<p>\u30e9\u30e0\u30c0\u306e\u5c0e\u5165\u3082\u3082\u3061\u308d\u3093\u30a4\u30f3\u30d1\u30af\u30c8\u304c\u5927\u304d\u305d\u3046\u3067\u3059\u3002<\/p>\n<pre><code class=\"java\">(int x, int y) -> { return x + y; }\n<\/code><\/pre>\n<p>\u95a2\u6570\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u8981\u7d20\u3092\u53d6\u308a\u5165\u308c\u308b\u306e\u306f\u6700\u8fd1\u306e\u6d41\u884c\u3067\u3001\u3053\u308c\u3082\u305d\u306e\u6d41\u308c\u306b\u305d\u3063\u305f\u3082\u306e\u3060\u3068\u601d\u308f\u308c\u307e\u3059\u3002\u7d99\u627f\u3092\u99c6\u4f7f\u3057\u3066\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3057\u3066\u3044\u304f\u3053\u308c\u307e\u3067\u306e\u30b9\u30bf\u30a4\u30eb\u304c\u5909\u308f\u3063\u3066\u3044\u304d\u305d\u3046\u3067\u3059\u306d\u3002<\/p>\n<p>\u3059\u3063\u304b\u308a\u67af\u308c\u5207\u3063\u305f\u5370\u8c61\u306eJava\u8a00\u8a9e\u3067\u3059\u304c\u3001Java 8\u3067\u5927\u304d\u306a\u5909\u66f4\u304c\u307e\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002Java\u30d7\u30ed\u30b0\u30e9\u30de\u306a\u3089\u5fc3\u306e\u6e96\u5099\u3092\u3057\u3066\u304a\u304d\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u306d(\u6c57<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java\u306e\u6b21\u671f\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u30d0\u30fc\u30b8\u30e7\u30f3\u300cJava 8\u300d\u306b\u95a2\u3059\u308b\u5909\u66f4\u70b9\u306e\u6982\u8981\u304c\u307e\u3068\u3081\u3089\u308c\u3066\u3044\u307e\u3057\u305f(Java 8\u306e\u3059\u3079\u3066)\u3002 \u3056\u3063\u3068\u8aad\u3093\u3067\u307f\u3066\u500b\u4eba\u7684\u306b\u4e00\u756a\u30a4\u30f3\u30d1\u30af\u30c8\u3092\u53d7\u3051\u305f\u306e\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u6539\u5584\u3068\u30e9\u30e0\u30c0\u306e\u5c0e [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":12287,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[1470],"class_list":["post-12288","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-java-8"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/12288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=12288"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/12288\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/12287"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=12288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=12288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=12288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}