{"height":"190","title":"Java8 Stream API\u306e\u57fa\u672c(8) - \u7d42\u7aef\u64cd\u4f5c3(close)","blog_title":"\u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u30ae\u30fc\u30af\u30b9 (Enterprise Geeks)","provider_url":"https://hatena.blog","description":"Stream API\u306e\u6700\u7d42\u56de\u3068\u3057\u3066\u3001\u4f7f\u7528\u983b\u5ea6\u306f\u5c11\u306a\u3044\u3068\u601d\u308f\u308c\u308b\u304c\u3001Stream#close\u306b\u3064\u3044\u3066\u8ff0\u3079\u308b\u3002 Stream#close Stream\u306fAutoCloseable\u3092\u5b9f\u88c5\u3057\u3066\u3044\u308b\u305f\u3081\u3001close\u30e1\u30bd\u30c3\u30c9\u3082\u5b58\u5728\u3059\u308b\u3002 \uff08\u6b63\u78ba\u306b\u306f Stream \u306e\u30b9\u30fc\u30d1\u30fc\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306eBaseStream\u3067\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\uff09\u3002 \u305d\u306e\u305f\u3081Stream\u578b\u306e\u5909\u6570\u3092try-with-resource\u53e5\u3067\u5ba3\u8a00\u3067\u304d\u308b\u3002 public static void main(String[] args) throws IOException { FileSystem fs = FileSystems.getDefault\u2026","author_name":"enterprisegeeks","type":"rich","author_url":"https://blog.hatena.ne.jp/enterprisegeeks/","categories":["Java8"],"blog_url":"https://enterprisegeeks.hatenablog.com/","width":"100%","image_url":null,"url":"https://enterprisegeeks.hatenablog.com/entry/2014/07/07/094500","published":"2014-07-07 09:45:00","provider_name":"Hatena Blog","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fenterprisegeeks.hatenablog.com%2Fentry%2F2014%2F07%2F07%2F094500\" title=\"Java8 Stream API\u306e\u57fa\u672c(8) - \u7d42\u7aef\u64cd\u4f5c3(close) - \u30a8\u30f3\u30bf\u30fc\u30d7\u30e9\u30a4\u30ba\u30ae\u30fc\u30af\u30b9 (Enterprise Geeks)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}