{"height":"190","blog_url":"https://yonchu.hatenablog.com/","title":"Java\u306eList\u30fbMap\u306efor\u6587\u51e6\u7406\u899a\u66f8","provider_name":"Hatena Blog","categories":["Java"],"author_name":"yonchu","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyonchu.hatenablog.com%2Fentry%2F20110216%2F1297857882\" title=\"Java\u306eList\u30fbMap\u306efor\u6587\u51e6\u7406\u899a\u66f8 - \u3088\u3093\u3061\u3085Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2011-02-16 21:04:42","width":"100%","type":"rich","description":"\u4e45\u3005\u306bJava\u3092\u4f7f\u3046\u3068\u5fd8\u308c\u3066\u305f\u308a\u3059\u308b\u306e\u3067\u30e1\u30e2\u3063\u3068\u304f\u3002\u5bfe\u8c61\u306eJava\u306fJava6\u3067\u3059\u3002Java\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3088\u3063\u3066\u30b3\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u5e38\u8b58\u304c\u9055\u3046\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3001 \u7279\u306bfor\u6587\u306f\u8272\u3005\u306a\u66f8\u304d\u65b9\u304c\u51fa\u6765\u308b\u306e\u3067\u975e\u5e38\u306b\u7d1b\u3089\u308f\u3057\u3044\u3002 List\u306efor\u6587 // \u4f8b\uff1aArrayList List<SomeClass> list = new ArrayList<SomeClass>(); // \u62e1\u5f35for\u6587\uff1a\u63a8\u5968 for (SomeClass item : list) { // item\u3092\u51e6\u7406 } // \u30a4\u30c6\u30ec\u30fc\u30bf\uff1a\u62e1\u5f35for\u6587\u304c\u4f7f\u3048\u306a\u3044\u5834\u5408\u306b\u4f7f\u7528(\u8981\u7d20\u306e\u8ffd\u52a0\u3084\u524a\u9664\u304c\u5fc5\u8981\u306a\u5834\u5408\u306a\u3069) for (Iterator<Some\u2026","author_url":"https://blog.hatena.ne.jp/yonchu/","provider_url":"https://hatena.blog","version":"1.0","blog_title":"\u3088\u3093\u3061\u3085Blog","url":"https://yonchu.hatenablog.com/entry/20110216/1297857882"}