{"id":19069,"date":"2017-03-13T12:24:06","date_gmt":"2017-03-13T03:24:06","guid":{"rendered":"http:\/\/www.sejuku.net\/blog\/?p=19069"},"modified":"2024-05-06T11:40:47","modified_gmt":"2024-05-06T02:40:47","slug":"%e3%80%905%e5%88%86%e3%81%a7java%e5%85%a5%e9%96%80%e3%80%91map%e3%81%a8iterator%e3%81%a7%e3%83%ab%e3%83%bc%e3%83%97%e5%87%a6%e7%90%86%e3%81%be%e3%81%a8%e3%82%81","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/19069","title":{"rendered":"\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5"},"content":{"rendered":"<p>Java\u306eIterator\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001List\u3084Map\u306a\u3069\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u304c\u4fbf\u5229\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Iterator\u306b\u3064\u3044\u3066<br \/>\n<div class=\"box01\"><\/p>\n<ul>\n<li><b>Iterator(\u30a4\u30c6\u30ec\u30fc\u30bf)\u3068\u306f<\/b><\/li>\n<li><b>Iterator\u306e\u4f7f\u3044\u65b9<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u30eb\u30fc\u30d7\u51e6\u7406\u3067List\u306e\u8981\u7d20\u3092<br \/>\n<div class=\"box01\"><\/p>\n<ul>\n<li><b>\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<li><b>\u524a\u9664\u3059\u308b\u65b9\u6cd5<\/b><\/li>\n<\/ul>\n<\/div>\n<p>\u306a\u3069\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089\u3001\u5fdc\u7528\u7684\u306a\u51e6\u7406\u306b\u3064\u3044\u3066\u3082\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306fIterator\u306b\u3064\u3044\u3066\u3001\u304f\u308f\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\uff01<\/p>\n<p>\u306a\u304a\u3001Java\u306e\u8a18\u4e8b\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/www.sejuku.net\/blog\/148098\" target=\"_blank\" rel=\"noopener\">\u3053\u3061\u3089<\/a>\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>Iterator(\u30a4\u30c6\u30ec\u30fc\u30bf)\u3068\u306f<\/h2>\n<p>Iterator\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306f\u3001List\u3084Map\u306a\u3069\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u8981\u7d20\u3092\u3001\u9806\u756a\u306b\u51e6\u7406\u3059\u308b\u5834\u5408\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>Iterator\u306f\u3001\u6b21\u306e\u8981\u7d20\u6570\u304c\u3042\u308b\u5834\u5408\u306btrue\u3092\u8fd4\u3059hasNext\u30e1\u30bd\u30c3\u30c9\u3084\u3001\u6b21\u306e\u8981\u7d20\u3092\u53d6\u5f97\u3059\u308b\u5834\u5408\u306b\u7528\u3044\u308bnext\u30e1\u30bd\u30c3\u30c9\u3092\u7528\u3044\u3066\u3001\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30eb\u30fc\u30d7\u51e6\u7406\u3067Map\u306e\u8981\u7d20\u3092\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u3053\u3053\u3067\u306f\u3001<b>Iterator\u3092\u4f7f\u3063\u3066Map\u306e\u8981\u7d20\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/b>\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<h3>Iterator\u3067Map\u306ekey\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>Iterator\u3092\u4f7f\u3063\u3066Map\u306ekey\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.util.Map;\r\nimport java.util.HashMap;\r\nimport java.util.Iterator;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ Map\u306e\u5ba3\u8a00\r\n        Map&lt;String, Integer&gt; map = new HashMap&lt;String, Integer&gt;();\r\n        \r\n        \/\/ Map\u306b\u8981\u7d20\u3092\u8ffd\u52a0\r\n        map.put(\"apple\", 100);\r\n        map.put(\"orange\", 200);\r\n        map.put(\"melon\", 300);\r\n        \r\n        \/\/ Iterator&lt;String&gt; \u306e\u5ba3\u8a00\r\n        Iterator&lt;String&gt; key_itr = map.keySet().iterator();\r\n        \r\n        \/\/ hasNext\u3092\u4f7f\u7528\u3057\u3066\u5024\u304c\u3042\u308b\u5834\u5408\u306f\u30eb\u30fc\u30d7\u3092\u7d99\u7d9a\u3059\u308b\r\n        \/\/ key\u306e\u53d6\u5f97\r\n        while(key_itr.hasNext()) {\r\n            \/\/ next\u3092\u4f7f\u7528\u3057\u3066\u5024\u3092\u53d6\u5f97\u3059\u308b\r\n            String str = (String)key_itr.next();\r\n            \r\n            System.out.println(str);\r\n        }\r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">orange\r\napple\r\nmelon<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u307e\u305aHashMap\u30af\u30e9\u30b9\u3092\u4f7f\u3063\u3066\u5909\u6570map\u3092\u5ba3\u8a00\u3057\u3001map\u306b\u8981\u7d20\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306bIterator\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306ekey_itr\u3092\u5ba3\u8a00\u3057\u3001keySet\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066map\u306ekey\u5024\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002hasNext\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3001\u6b21\u306e\u8981\u7d20\u304c\u3042\u308b\u5834\u5408\u306ftrue\u3092\u8fd4\u3057\u3001while\u306b\u3088\u308b\u30eb\u30fc\u30d7\u3092\u7d99\u7d9a\u3055\u305b\u307e\u3059\u3002next\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3001map\u306ekey\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001HashMap\u3067\u8ffd\u52a0\u3055\u308c\u305f\u5024\u306f\u9806\u4e0d\u540c\u3068\u306a\u308a\u307e\u3059\u3002keySet\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3082\u3063\u3068\u304f\u308f\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u306f\u3001\u3053\u3061\u3089\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/16149\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/02\/blog_java_map_keyset-150x86.png\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Java\u5165\u9580\u3011Map\u306ekeySet\u306e\u610f\u5473\u3068\u4f7f\u3044\u65b9<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h3>Iterator\u3067Map\u306evalue\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>Iterator\u3092\u4f7f\u3063\u3066Map\u306evalue\u5024\u3082\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.util.Map;\r\nimport java.util.HashMap;\r\nimport java.util.Iterator;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ Map\u306e\u5ba3\u8a00\r\n        Map&lt;String, Integer&gt; map = new HashMap&lt;String, Integer&gt;();\r\n        \r\n        \/\/ Map\u306b\u8981\u7d20\u3092\u8ffd\u52a0\r\n        map.put(\"apple\", 100);\r\n        map.put(\"orange\", 200);\r\n        map.put(\"melon\", 300);\r\n        \r\n        \/\/ Iterator&lt;Integer&gt; \u306e\u5ba3\u8a00\r\n        Iterator&lt;Integer&gt; val_itr = map.values().iterator();\r\n        \r\n        \/\/ value\u306e\u53d6\u5f97\r\n        while(val_itr.hasNext()) {\r\n            \/\/ next\u3092\u4f7f\u7528\u3057\u3066\u5024\u3092\u53d6\u5f97\u3059\u308b\r\n            Integer i = (Integer)val_itr.next();\r\n            \r\n            System.out.println(i);\r\n        }\r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">200\r\n100\r\n300<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u540c\u3058\u3088\u3046\u306b\u3057\u3066Iterator\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306eval_itr\u3092\u5ba3\u8a00\u3057\u3001values\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066map\u306evalue\u5024\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>Iterator\u3067Map\u306ekey\u3001value\u3092\u30bb\u30c3\u30c8\u3067\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>Iterator\u3092\u4f7f\u3063\u3066Map\u306ekey\u3001value\u3092\u30bb\u30c3\u30c8\u3067\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u78ba\u8a8d\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.util.Map;\r\nimport java.util.HashMap;\r\nimport java.util.Iterator;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ Map\u306e\u5ba3\u8a00\r\n        Map&lt;String, Integer&gt; map = new HashMap&lt;String, Integer&gt;();\r\n        \r\n        \/\/ Map\u306b\u8981\u7d20\u3092\u8ffd\u52a0\r\n        map.put(\"apple\", 100);\r\n        map.put(\"orange\", 200);\r\n        map.put(\"melon\", 300);\r\n        \r\n         \/\/ Iterator&lt;Map.Entry&lt;String, Integer&gt;&gt; \u306e\u5ba3\u8a00\r\n        Iterator&lt;Map.Entry&lt;String, Integer&gt;&gt; itr = map.entrySet().iterator();\r\n        \r\n        \/\/ key, value\u306e\u53d6\u5f97\r\n        while(itr.hasNext()) {\r\n            \/\/ next\u3092\u4f7f\u7528\u3057\u3066\u5024\u3092\u53d6\u5f97\u3059\u308b\r\n            Map.Entry&lt;String, Integer&gt; entry = itr.next();\r\n            \r\n            System.out.println(entry.getKey() + \" : \" + entry.getValue());\r\n        }\r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">orange : 200\r\napple : 100\r\nmelon : 300<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001Iterator\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306eitr\u3092\u5ba3\u8a00\u3057\u3001entrySet\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066map\u306ekey\u5024\u3068value\u5024\u3092\u30bb\u30c3\u30c8\u3067\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30eb\u30fc\u30d7\u51e6\u7406\u3067List\u306e\u8981\u7d20\u3092\u64cd\u4f5c\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u5148\u307b\u3069\u306fIterator\u3067Map\u306e\u8981\u7d20\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001<b>Iterator\u3092\u4f7f\u7528\u3057\u3066List\u306e\u8981\u7d20\u3092\u9806\u756a\u306b\u53d6\u5f97\u3059\u308b\u51e6\u7406<\/b>\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002\u307e\u305f\u3001Iterator\u306e\u5fdc\u7528\u7de8\u3068\u3057\u3066\u3001ListIterator\u3092\u4f7f\u7528\u3057\u3066\u5024\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3001\u30eb\u30fc\u30d7\u306e\u4e2d\u3067\u5024\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\uff01<\/p>\n<h3>Iterator\u3067List\u306e\u8981\u7d20\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u3053\u3053\u3067\u306f\u3001\u5b9f\u969b\u306bArrayList\u30af\u30e9\u30b9\u3067\u5ba3\u8a00\u3057\u305flist\u306b\u8981\u7d20\u3092\u8ffd\u52a0\u3057\u3001Iterator\u3092\u4f7f\u7528\u3057\u3066list\u306e\u8981\u7d20\u3092\u9806\u756a\u306b\u53d6\u5f97\u3059\u308b\u51e6\u7406\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306bIterator\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.util.ArrayList;\r\nimport java.util.Iterator;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ List\u306e\u5ba3\u8a00\r\n        ArrayList&lt;String&gt; list = new ArrayList&lt;String&gt;();\r\n        \r\n        \/\/ List\u306b\u8981\u7d20\u3092\u8ffd\u52a0\r\n        list.add(\"apple\");\r\n        list.add(\"orange\");\r\n        list.add(\"melon\");\r\n        \r\n        \/\/ Iterator&lt;String&gt; \u306e\u5ba3\u8a00\r\n        Iterator&lt;String&gt; itr = list.iterator();\r\n        \r\n        \/\/ hasNext\u3092\u4f7f\u7528\u3057\u3066\u5024\u304c\u3042\u308b\u5834\u5408\u306f\u30eb\u30fc\u30d7\u3092\u7d99\u7d9a\u3059\u308b\r\n        while(itr.hasNext()) {\r\n            \/\/ next\u3092\u4f7f\u7528\u3057\u3066\u8981\u7d20\u3092\u53d6\u5f97\u3059\u308b\r\n            String str = (String)itr.next();\r\n            \r\n            System.out.println(str);\r\n        }\r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">apple\r\norange\r\nmelon<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u307e\u305aArrayList\u30af\u30e9\u30b9\u3092\u5ba3\u8a00\u3057\u3001\u5909\u6570list\u306b\u8981\u7d20\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u6b21\u306bIterator\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306eitr\u3092\u5ba3\u8a00\u3057\u3001list\u306e\u5168\u8981\u7d20\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>ListIterator\u3067\u8981\u7d20\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>Iterator\u3067\u30eb\u30fc\u30d7\u4e2d\u306b\u5024\u3092\u8ffd\u52a0\u3057\u305f\u3044\u5834\u5408\u3001ListIterator\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u30eb\u30fc\u30d7\u4e2d\u306b\u5024\u3092\u8ffd\u52a0\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.util.ArrayList;\r\nimport java.util.Iterator;\r\nimport java.util.ListIterator;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ List\u306e\u5ba3\u8a00\r\n        ArrayList&lt;Integer&gt; list = new ArrayList&lt;Integer&gt;();\r\n        \r\n        \/\/ List\u306b\u5024\u3092\u8ffd\u52a0\r\n        list.add(1);\r\n        list.add(2);\r\n        list.add(3);\r\n        list.add(4);\r\n        list.add(5);\r\n        \r\n        \/\/ ListIterator&lt;Integer&gt;\u306e\u5ba3\u8a00 \r\n        ListIterator&lt;Integer&gt; itr = list.listIterator();\r\n \r\n        while(itr.hasNext()) {\r\n            Integer num1 = itr.next();\r\n            \r\n            if (num1 == 5) {\r\n                itr.add(6);\r\n            }\r\n        }\r\n        System.out.println(list);\r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">[1, 2, 3, 4, 5, 6]<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001\u307e\u305aArrayList\u30af\u30e9\u30b9\u3092\u5ba3\u8a00\u3057\u3001\u5909\u6570list\u306b\u5024\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306bListIterator\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306eitr\u3092\u5ba3\u8a00\u3057\u3001list\u306e\u5168\u8981\u7d20\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002Iterator\u3067\u306e\u30eb\u30fc\u30d7\u4e2d\u306b\u5024\u304c5\u306e\u5834\u5408\u306fadd\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u5024\u3092\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>ArrayList\u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3059\u308b\u3068\u30016\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30eb\u30fc\u30d7\u51e6\u7406\u3067\u8981\u7d20\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>Map\u3084List\u306a\u3069\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u30eb\u30fc\u30d7\u306e\u4e2d\u3067\u524a\u9664\u3059\u308b\u305f\u3081\u306b\u306f\u3001remove\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>Iterator\u3067\u306e\u30eb\u30fc\u30d7\u3092\u4f7f\u7528\u305b\u305a\u306b\u3001for\u6587\u306a\u3069\u3067\u8981\u7d20\u6570\u5206\u30eb\u30fc\u30d7\u3057\u3066\u5024\u3092\u524a\u9664\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u304c\u3001Iterator\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u306a\u3044\u3068\u3001\u975e\u52b9\u7387\u306b\u306a\u3063\u305f\u308a\u601d\u308f\u306c\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h3>for\u6587\u3067\u8981\u7d20\u6570\u5206\u30eb\u30fc\u30d7\u3059\u308b\u5834\u5408<\/h3>\n<p>\u307e\u305a\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306bIterator\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u306a\u3044\u3067\u3001<b>for\u6587\u3067\u524a\u9664\u3059\u308b\u65b9\u6cd5<\/b>\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.util.ArrayList;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ List\u306e\u5ba3\u8a00\r\n        ArrayList&lt;Integer&gt; list = new ArrayList&lt;Integer&gt;();\r\n        \r\n        \/\/ List\u306b\u5024\u3092\u8ffd\u52a0\r\n        list.add(1);\r\n        list.add(2);\r\n        list.add(3);\r\n        list.add(4);\r\n        list.add(5);\r\n        \r\n        \/\/ List\u306e\u30b5\u30a4\u30ba\u5206\u30eb\u30fc\u30d7\u3059\u308b\r\n        for(int i=0; i&lt;list.size(); i++) {\r\n            \/\/ \u5024\u304c1\u307e\u305f\u306f4\u306e\u5834\u5408\u306f\u30ea\u30b9\u30c8\u3092\u524a\u9664\r\n            if (i == 1 || i == 4) {\r\n                list.remove(i);\r\n            }\r\n        }\r\n        System.out.println(\"list = \" + list);\r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">list = [1, 3, 4, 5]<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\u306f\u3001list\u3092\u8981\u7d20\u6570\u5206\u30eb\u30fc\u30d7\u3057\u3001\u5024\u304c1\u307e\u305f\u306f4\u306e\u5834\u5408\u306fremove\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u5024\u3092\u524a\u9664\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001\u5b9f\u884c\u7d50\u679c\u3092\u898b\u308b\u9650\u308a\u3067\u306f\u3001\u5b9f\u969b\u306b\u524a\u9664\u3055\u308c\u3066\u3044\u308b\u8981\u7d20\u306f2\u306e\u307f\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001remove\u30e1\u30bd\u30c3\u30c9\u3067\u524a\u9664\u6642\u306bi\u756a\u76ee\uff08\u3053\u3053\u3067\u306f1\u756a\u76ee\uff09\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u578b\u306f\u8981\u7d20\u6570\u304c0\u304b\u3089\u59cb\u307e\u308b\u305f\u3081\u3001\u5b9f\u969b\u306b\u306f2\u756a\u76ee\u306e\u5024\u304c\u524a\u9664\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001list\u3092\u524a\u9664\u3059\u308b\u3054\u3068\u306b\u8981\u7d20\u6570\u304c1\u3064\u6e1b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\uff080\u30011\u30012\u30013\u3068\u306a\u308b\uff09\u305d\u306e\u305f\u3081\u3001\u300ci == 4\u300d\u306b\u5230\u9054\u3059\u308b\u3053\u306f\u306a\u304f\u3001list\u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u8981\u7d20\u65702\u306e\u307f\u304c\u524a\u9664\u3055\u308c\u305f\u5f62\u3068\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001size\u30e1\u30bd\u30c3\u30c9\u3092\u30eb\u30fc\u30d7\u6bce\u306b\u547c\u3073\u51fa\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3076\u3053\u3068\u81ea\u4f53\u308f\u305a\u304b\u306a\u304c\u3089\u8ca0\u8377\u304c\u304b\u304b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002size\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u306f\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u8ca0\u8377\u304c\u9ad8\u307e\u3063\u3066\u3001\u4e88\u671f\u3057\u306a\u3044\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u5371\u967a\u6027\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3068\u304f\u306b\u81a8\u5927\u306a\u30c7\u30fc\u30bf\u91cf\uff08\u4f55\u4e07\u301c\u4f55\u5341\u4e07\uff09\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u63a8\u5968\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<h3>for\u6587\u3067\u4fdd\u5b58\u3057\u305f\u8981\u7d20\u6570\u5206\u30eb\u30fc\u30d7\u3059\u308b\u5834\u5408<\/h3>\n<p>\u305d\u3053\u3067\u3001\u5909\u6570\u306blist\u306e\u30b5\u30a4\u30ba\u3092\u4fdd\u5b58\u3057\u3066\u304a\u3044\u3066\u3001\u305d\u306e\u5909\u6570\u3092\u4f7f\u3046\u3053\u3068\u3067\u30e1\u30bd\u30c3\u30c9\u306e\u547c\u3073\u51fa\u3057\u56de\u6570\u3092\u6e1b\u3089\u3057\u306a\u304c\u3089\u3001list\u306e\u8981\u7d20\u6570\u5206\u30eb\u30fc\u30d7\u51e6\u7406\u3092\u3055\u305b\u308b\u3068\u3044\u3046\u65b9\u6cd5\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306b\u30b5\u30a4\u30ba\u3092\u6307\u5b9a\u3057\u3066\u30eb\u30fc\u30d7\u306e\u4e2d\u3067list\u306e\u5024\u3092\u524a\u9664\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.util.ArrayList;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ List\u306e\u5ba3\u8a00\r\n        ArrayList&lt;Integer&gt; list = new ArrayList&lt;Integer&gt;();\r\n        \r\n        \/\/ List\u306b\u5024\u3092\u8ffd\u52a0\r\n        list.add(1);\r\n        list.add(2);\r\n        list.add(3);\r\n        list.add(4);\r\n        list.add(5);\r\n        \r\n        \/\/ \u6bce\u56desize\u30e1\u30bd\u30c3\u30c9\u3092\u547c\u3076\u306e\u306f\u30b7\u30b9\u30c6\u30e0\u306e\u8ca0\u8377\u304c\u9ad8\u307e\u308b\u305f\u3081\u3001\r\n        \/\/ \u4e00\u65e6\u3001int\u578b\u306e\u5909\u6570\u306bList\u306e\u30b5\u30a4\u30ba\u3092\u4fdd\u5b58\u3059\u308b\r\n        int size = list.size();\r\n        \r\n        \/\/ List\u306e\u30b5\u30a4\u30ba\u5206\u30eb\u30fc\u30d7\u3059\u308b\r\n        for(int i=0; i&lt;size; i++) {\r\n            \/\/ \u5024\u304c1\u307e\u305f\u306f4\u306e\u5834\u5408\u306f\u30ea\u30b9\u30c8\u3092\u524a\u9664\r\n            if (i == 1 || i == 4) {\r\n                list.remove(i);\r\n            }\r\n        }\r\n        System.out.println(\"list = \" + list);\r\n    }\r\n\r\n}<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u201djava.lang.IndexOutOfBoundsException\u201d\u306e\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u30ea\u30b9\u30c8\u306e\u30b5\u30a4\u30ba\u3092\u4e8b\u524d\u306b\u53d6\u5f97\u3057\u3001\u30ea\u30b9\u30c8\u306e\u30b5\u30a4\u30ba\u5206\u30eb\u30fc\u30d7\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30eb\u30fc\u30d7\u306e\u4e2d\u3067list\u306e\u5024\u3092\u524a\u9664\u3057\u305f\u7d50\u679c\u3001list\u306e\u30b5\u30a4\u30ba\u306e\u5024\u3082\u6e1b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u5909\u6570size\u3067\u53d6\u5f97\u3057\u305f\u30b5\u30a4\u30ba\u6570\u5206\u306e\u8981\u7d20\u304c\u53c2\u7167\u3067\u304d\u305a\u306b\u3001\u4f8b\u5916\u304c\u767a\u751f\u3057\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<h3>\u62e1\u5f35for\u6587\u3092\u4f7f\u3046\u5834\u5408<\/h3>\n<p>\u3067\u306f\u3001\u62e1\u5f35for\u6587\u3092\u4f7f\u3063\u3066\u524a\u9664\u3059\u308b\u3068\u3069\u3046\u306a\u308b\u306e\u304b\uff1f<\/p>\n<p>\u62e1\u5f35for\u6587\u306b\u7f6e\u304d\u63db\u3048\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.util.ArrayList;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ List\u306e\u5ba3\u8a00\r\n        ArrayList&lt;Integer&gt; list = new ArrayList&lt;Integer&gt;();\r\n        \r\n        \/\/ List\u306b\u5024\u3092\u8ffd\u52a0\r\n        list.add(1);\r\n        list.add(2);\r\n        list.add(3);\r\n        list.add(4);\r\n        list.add(5);\r\n        \r\n        \/\/ \u62e1\u5f35for\u6587\r\n        for(Integer i : list) {\r\n            if (i == 3) {\r\n                list.remove(i);\r\n            }\r\n        }\r\n        System.out.println(\"list = \" + list);\r\n    }\r\n\r\n}<\/pre>\n<p>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u201djava.util.ConcurrentModificationException\u201d\u306e\u4f8b\u5916\u304c\u767a\u751f\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u30eb\u30fc\u30d7\u306e\u4e2d\u3067Collection\u306e\u5024\u304c\u5909\u66f4\u3055\u308c\u308b\u3068\u3001\u4f8b\u5916\u304c\u6295\u3052\u3089\u308c\u308b\u305f\u3081\u3067\u3059\u3002<\/p>\n<h3>Iterator\u3067\u306e\u30eb\u30fc\u30d7\u4e2d\u306b\u8981\u7d20\u3092\u524a\u9664\u3059\u308b\u5834\u5408<\/h3>\n<p>for\u6587\u3084\u62e1\u5f35for\u6587\u304c\u767a\u751f\u3059\u308b\u3068\u3001\u601d\u308f\u306c\u554f\u984c\u3084\u4f8b\u5916\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u305d\u306e\u305f\u3081\u3001\u6b63\u78ba\u306bList\u306e\u5024\u3092\u524a\u9664\u3059\u308b\u305f\u3081\u306b\u306f\u3001Iterator\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306bIterator\u3067\u306e\u30eb\u30fc\u30d7\u4e2d\u306b\u5024\u3092\u524a\u9664\u3059\u308b\u65b9\u6cd5\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:java decode:true \">import java.util.ArrayList;\r\nimport java.util.Iterator;\r\n\r\npublic class Main {\r\n \r\n    public static void main(String[] args) {\r\n        \/\/ List\u306e\u5ba3\u8a00\r\n        ArrayList&lt;Integer&gt; list = new ArrayList&lt;Integer&gt;();\r\n        \r\n        \/\/ List\u306b\u5024\u3092\u8ffd\u52a0\r\n        list.add(1);\r\n        list.add(2);\r\n        list.add(3);\r\n        list.add(4);\r\n        list.add(5);\r\n \r\n        \/\/ Iterator&lt;Integer&gt; \u306e\u5ba3\u8a00\r\n        Iterator&lt;Integer&gt; itr = list.iterator();\r\n        \r\n        \/\/ hasNext\u3092\u4f7f\u7528\u3057\u3066\u5024\u304c\u3042\u308b\u5834\u5408\u306f\u30eb\u30fc\u30d7\u3092\u7d99\u7d9a\u3059\u308b\r\n        while(itr.hasNext())\r\n        {\r\n             \/\/ next\u3092\u4f7f\u7528\u3057\u3066\u5024\u3092\u53d6\u5f97\u3059\u308b\r\n            Integer num2 = itr.next();\r\n            \r\n            \/\/ \u5024\u304c3\u306e\u5834\u5408\r\n            if (num2 == 3)\r\n            {\r\n                \/\/ \u5024\u3092\u524a\u9664\u3059\u308b\r\n                itr.remove();\r\n            }\r\n        }\r\n        System.out.println(\"list = \" + list);\r\n    }\r\n\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\uff1a<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">list = [1, 2, 4, 5]<\/pre>\n<p>Iterator\u3067\u306e\u30eb\u30fc\u30d7\u4e2d\u306b\u5024\u304c3\u306e\u5834\u5408\u306f\u3001remove\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u5024\u3092\u524a\u9664\u3057\u3066\u3044\u307e\u3059\u3002ArrayList\u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u610f\u56f3\u3057\u305f\u3068\u304a\u308a3\u304c\u524a\u9664\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<h2>Map\u306b\u3064\u3044\u3066\u3082\u3063\u3068\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u3078<\/h2>\n<p>Map\u306e\u3055\u307e\u3056\u307e\u306a\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/19796\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/03\/hashmap-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Java\u5165\u9580\u3011Map\u306e\u4f7f\u3044\u65b9\u7dcf\u307e\u3068\u3081(HashMap\u3067\u521d\u671f\u5316\u3001\u5024\u306e\u30bd\u30fc\u30c8)<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>for\u6587\u3067\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u306b\u3064\u3044\u3066\u77e5\u308a\u305f\u3044\u65b9\u3078<\/h2>\n<p>\u4eca\u56de\u306e\u89e3\u8aac\u3067\u4f7f\u7528\u3057\u305ffor\u6587\u3067\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u306b\u3064\u3044\u3066\u304f\u308f\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/22219\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/04\/java_for-150x85.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Java\u5165\u9580\u3011for\u6587\u3001\u62e1\u5f35for\u6587\u3001forEach\u306e\u4f7f\u3044\u65b9<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>while\u6587\u3067\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u306b\u3064\u3044\u3066\u77e5\u308a\u305f\u3044\u65b9\u3078<\/h2>\n<p>\u4eca\u56de\u306e\u89e3\u8aac\u3067\u4f7f\u7528\u3057\u305fwhile\u6587\u3067\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u306b\u3064\u3044\u3066\u304f\u308f\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u306d\uff01<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/22747\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/07\/\u30103\u5206\u3067\u308f\u304b\u308bJava\u3011while\u6587\u3068do-while\u6587\u306e\u4f7f\u3044\u65b9-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u30103\u5206\u3067\u308f\u304b\u308bJava\u3011while\u6587\u3068do-while\u6587\u306e\u4f7f\u3044\u65b9<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u3053\u3067\u306f\u3001Iterator\u3092\u4f7f\u7528\u3057\u305f\u57fa\u672c\u7684\u306a\u30eb\u30fc\u30d7\u51e6\u7406\u3084\u3001\u5024\u306e\u8ffd\u52a0\u3084\u524a\u9664\u306e\u65b9\u6cd5\u3001\u524a\u9664\u6642\u306e\u5371\u967a\u6027\u306a\u3069\u8aac\u660e\u3057\u307e\u3057\u305f\u3002List\u3084Map\u306a\u3069\u306e\u5024\u3092\u30eb\u30fc\u30d7\u3067\u51e6\u7406\u3059\u308b\u5834\u5408\u306f\u3001Iterator\u3092\u4f7f\u7528\u3057\u305f\u307b\u3046\u304c\u3001\u6b63\u78ba\u306b\u51e6\u7406\u3092\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u3082\u3057\u3001Iterator\u306e\u4f7f\u3044\u65b9\u3092\u5fd8\u308c\u3066\u3057\u307e\u3063\u305f\u3089\u3001\u3053\u306e\u8a18\u4e8b\u3092\u601d\u3044\u51fa\u3057\u3066\u304f\u3060\u3055\u3044\u306d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java\u306eIterator\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001List\u3084Map\u306a\u3069\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u304c\u4fbf\u5229\u306b\u306a\u308a\u307e\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Iterator\u306b\u3064\u3044\u3066 Iterator(\u30a4\u30c6\u30ec\u30fc\u30bf)\u3068\u306f Iterator\u306e\u4f7f\u3044\u65b9 \u30eb\u30fc\u30d7\u51e6\u7406\u3067 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":29254,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2344],"tags":[67],"class_list":["post-19069","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-java-study","tag-java"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/19069\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/19069\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-03-13T03:24:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:40:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5\",\"datePublished\":\"2017-03-13T03:24:06+00:00\",\"dateModified\":\"2024-05-06T02:40:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069\"},\"wordCount\":208,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5.jpg\",\"keywords\":[\"Java\"],\"articleSection\":[\"Java\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069\",\"name\":\"\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5.jpg\",\"datePublished\":\"2017-03-13T03:24:06+00:00\",\"dateModified\":\"2024-05-06T02:40:47+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5.jpg\",\"width\":700,\"height\":400},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/19069#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/19069","og_locale":"ja_JP","og_type":"article","og_title":"\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/19069","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"2017-03-13T03:24:06+00:00","article_modified_time":"2024-05-06T02:40:47+00:00","og_image":[{"width":700,"height":400,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/19069#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/19069"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5","datePublished":"2017-03-13T03:24:06+00:00","dateModified":"2024-05-06T02:40:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/19069"},"wordCount":208,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/19069#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5.jpg","keywords":["Java"],"articleSection":["Java\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/19069","url":"https:\/\/www.sejuku.net\/blog\/19069","name":"\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/19069#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/19069#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5.jpg","datePublished":"2017-03-13T03:24:06+00:00","dateModified":"2024-05-06T02:40:47+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/19069#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/19069"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/19069#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5.jpg","width":700,"height":400},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/19069#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010\u89e3\u6c7aJava\u3011Map\u306e\u30eb\u30fc\u30d7\u51e6\u7406\u3067Iterator\u3092\u4f7f\u3046\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/19069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=19069"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/19069\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/29254"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=19069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=19069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=19069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}