{"id":67103,"date":"2026-01-28T09:08:58","date_gmt":"2026-01-28T01:08:58","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/67103.html"},"modified":"2026-01-28T09:08:58","modified_gmt":"2026-01-28T01:08:58","slug":"%e4%bd%bf%e7%94%a8iterator%e8%bf%ad%e4%bb%a3%e5%99%a8%e5%9c%a8%e9%81%8d%e5%8e%86%e4%b8%ad%e5%ae%89%e5%85%a8%e5%88%a0%e9%99%a4%e5%85%83%e7%b4%a0","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/67103.html","title":{"rendered":"\u4f7f\u7528Iterator\u8fed\u4ee3\u5668\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20"},"content":{"rendered":"<h2>\u524d\u8a00<\/h2>\n<p>\u6700\u8fd1\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e00\u4e2a\u5f02\u5e38\u629b\u51fa&#xff0c;\u4e0d\u80fd\u5728for\u5faa\u73af\u4e2d\u5bf9\u96c6\u5408\u5143\u7d20\u8fdb\u884c\u5220\u9664&#xff0c;\u5c0f\u8bb0\u4e00\u4e0b\u8fd9\u4e2a\u65b9\u6cd5&#xff01;<\/p>\n<h2>&#x1f50d; \u4e00\u3001\u4ec0\u4e48\u662f Iterator&#xff1f;<\/h2>\n<p>Iterator \u662f \u4e13\u95e8\u7528\u4e8e\u904d\u5386\u96c6\u5408&#xff08;List \/ Set&#xff09;\u5e76\u5141\u8bb8\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20\u7684\u63a5\u53e3\u3002\u5b83\u662f Java Collection \u6846\u67b6\u7684\u91cd\u8981\u6210\u5458&#xff0c;\u907f\u514d foreach \u5220\u9664\u65f6\u62a5 ConcurrentModificationException\u3002<\/p>\n<p>\u652f\u6301\u7684\u96c6\u5408&#xff1a;<\/p>\n<table>\n<tr>\u96c6\u5408\u7c7b\u578b\u662f\u5426\u652f\u6301 Iterator<\/tr>\n<tbody>\n<tr>\n<td>List<\/td>\n<td>\u2714<\/td>\n<\/tr>\n<tr>\n<td>Set<\/td>\n<td>\u2714<\/td>\n<\/tr>\n<tr>\n<td>Map<\/td>\n<td>\u274c&#xff08;\u9700\u8981\u8f6c entrySet&#xff09;<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>&#x1f4cc; \u4e8c\u3001Iterator \u7684\u6838\u5fc3\u65b9\u6cd5<\/h2>\n<table>\n<tr>\u65b9\u6cd5\u4f5c\u7528<\/tr>\n<tbody>\n<tr>\n<td>hasNext()<\/td>\n<td>\u662f\u5426\u8fd8\u6709\u4e0b\u4e00\u4e2a\u5143\u7d20<\/td>\n<\/tr>\n<tr>\n<td>next()<\/td>\n<td>\u53d6\u51fa\u4e0b\u4e00\u4e2a\u5143\u7d20<\/td>\n<\/tr>\n<tr>\n<td>remove()<\/td>\n<td>\u5220\u9664\u5f53\u524d\u5143\u7d20&#xff08;\u53ea\u80fd\u5728 next() \u540e\u8c03\u7528&#xff09;<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>&#x1f680; \u4e09\u3001\u6700\u5e38\u7528\u7684\u8fed\u4ee3\u5668\u904d\u5386\u5199\u6cd5&#xff08;\u6807\u51c6\u5199\u6cd5&#xff09;<\/h2>\n<p>Iterator&lt;Long&gt; iterator &#061; ids.iterator();<br \/>\nwhile (iterator.hasNext()) {<br \/>\n    Long id &#061; iterator.next();<br \/>\n    System.out.println(id);<br \/>\n}<\/p>\n<h2>&#x1f9f9; \u56db\u3001\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20&#xff08;\u5fc5\u987b\u4f7f\u7528 iterator.remove()&#xff09;<\/h2>\n<p>Iterator&lt;Long&gt; iterator &#061; ids.iterator();<br \/>\nwhile (iterator.hasNext()) {<br \/>\n    Long id &#061; iterator.next();<br \/>\n    if (id &lt; 10) {<br \/>\n        iterator.remove();  \/\/ \u2757\u5fc5\u987b\u4f7f\u7528 iterator.remove()<br \/>\n    }<br \/>\n}<\/p>\n<h2>\u274c \u4e94\u3001\u9519\u8bef\u5199\u6cd5&#xff08;\u4e00\u5b9a\u4f1a\u62a5\u9519&#xff09;<\/h2>\n<p>for (Long id : ids) {<br \/>\n    ids.remove(id);   \/\/ \u274c ConcurrentModificationException<br \/>\n}<\/p>\n<h2>&#x1f501; \u516d\u3001\u904d\u5386 Set \u96c6\u5408<\/h2>\n<p>Set&lt;String&gt; names &#061; new HashSet&lt;&gt;();<br \/>\nIterator&lt;String&gt; iterator &#061; names.iterator();<br \/>\nwhile (iterator.hasNext()) {<br \/>\n    String name &#061; iterator.next();<br \/>\n    System.out.println(name);<br \/>\n}<\/p>\n<h2>&#x1f511; \u4e03\u3001\u904d\u5386 Map&#xff08;\u9700\u8981\u8f6c\u6362\u4e3a entrySet&#xff09;<\/h2>\n<p>Map&lt;Long, String&gt; map &#061; new HashMap&lt;&gt;();<\/p>\n<p>Iterator&lt;Map.Entry&lt;Long, String&gt;&gt; iterator &#061; map.entrySet().iterator();<br \/>\nwhile (iterator.hasNext()) {<br \/>\n    Map.Entry&lt;Long, String&gt; entry &#061; iterator.next();<br \/>\n    System.out.println(&#034;key&#061;&#034; &#043; entry.getKey() &#043; &#034;, value&#061;&#034; &#043; entry.getValue());<br \/>\n}<\/p>\n<h2>\u2728 \u516b\u3001\u589e\u5f3a\u7248\u5199\u6cd5&#xff1a;\u7edf\u8ba1 &#043; \u5220\u9664 &#043; \u8bb0\u5f55\u65e5\u5fd7<\/h2>\n<p>List&lt;Long&gt; removedIds &#061; new ArrayList&lt;&gt;();<br \/>\nIterator&lt;Long&gt; iterator &#061; ids.iterator();<\/p>\n<p>while (iterator.hasNext()) {<br \/>\n    Long id &#061; iterator.next();<br \/>\n    if (!filesMapper.isExist(id)) {<br \/>\n        removedIds.add(id);<br \/>\n        iterator.remove();<br \/>\n    }<br \/>\n}<\/p>\n<p>log.info(&#034;\u5171\u5220\u9664 {} \u4e2a\u65e0\u6548 ID&#xff1a;{}&#034;, removedIds.size(), removedIds);<\/p>\n<h2>&#x1f4da; \u4e5d\u3001Iterator vs forEach vs Stream<\/h2>\n<table>\n<tr>\u904d\u5386\u65b9\u5f0f\u662f\u5426\u80fd\u5220\u9664\u662f\u5426\u63a8\u8350<\/tr>\n<tbody>\n<tr>\n<td>for-each<\/td>\n<td>\u274c<\/td>\n<td>\u4e0d\u63a8\u8350\u5220\u9664<\/td>\n<\/tr>\n<tr>\n<td>Iterator<\/td>\n<td>\u2714<\/td>\n<td>CRUD \u901a\u7528\u63a8\u8350<\/td>\n<\/tr>\n<tr>\n<td>removeIf<\/td>\n<td>\u2714<\/td>\n<td>JDK8 \u6700\u7b80\u6d01<\/td>\n<\/tr>\n<tr>\n<td>Stream<\/td>\n<td>\u274c<\/td>\n<td>\u53ef\u8fc7\u6ee4\u4f46\u4e0d\u53ef\u76f4\u63a5\u5220\u9664<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>&#x1f31f; \u5341\u3001JDK8 \u66f4\u63a8\u8350&#xff1a;removeIf<\/h2>\n<p>ids.removeIf(id -&gt; !filesMapper.isExist(id));<\/p>\n<h2>&#x1f4cc; \u5341\u4e00\u3001Iterator \u5e38\u89c1\u9519\u8bef\u603b\u7ed3<\/h2>\n<table>\n<tr>\u9519\u8bef\u5199\u6cd5\u540e\u679c<\/tr>\n<tbody>\n<tr>\n<td>ids.remove(id)<\/td>\n<td>\u62a5 ConcurrentModificationException<\/td>\n<\/tr>\n<tr>\n<td>iterator.remove() \u4f46\u6ca1\u6709 next()<\/td>\n<td>IllegalStateException<\/td>\n<\/tr>\n<tr>\n<td>\u7528\u4e86\u4e24\u6b21 remove()<\/td>\n<td>IllegalStateException<\/td>\n<\/tr>\n<tr>\n<td>\u4fee\u6539\u96c6\u5408\u957f\u5ea6\u65f6\u7ee7\u7eed\u904d\u5386<\/td>\n<td>\u903b\u8f91\u9519\u8bef<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u2714 \u5341\u4e8c\u3001Iterator \u4f7f\u7528\u573a\u666f\u603b\u7ed3<\/h2>\n<table>\n<tr>\u4f7f\u7528\u573a\u666f\u662f\u5426\u9002\u5408\u7528 Iterator<\/tr>\n<tbody>\n<tr>\n<td>\u5b89\u5168\u5220\u9664\u96c6\u5408\u5143\u7d20<\/td>\n<td>\u2714 \u5fc5\u987b<\/td>\n<\/tr>\n<tr>\n<td>\u7b80\u5355\u904d\u5386<\/td>\n<td>\u53ef\u7528&#xff0c;\u4f46 forEach \u66f4\u5feb<\/td>\n<\/tr>\n<tr>\n<td>\u5927\u91cf\u6570\u636e\u904d\u5386<\/td>\n<td>\u2714<\/td>\n<\/tr>\n<tr>\n<td>\u5220\u9664\u5143\u7d20\u5e76\u8bb0\u5f55\u65e5\u5fd7<\/td>\n<td>\u2714<\/td>\n<\/tr>\n<tr>\n<td>Map \u904d\u5386<\/td>\n<td>\u2714&#xff08;\u9700 entrySet&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>Stream \u64cd\u4f5c<\/td>\n<td>\u274c \u4e0d\u80fd\u76f4\u63a5\u5220\u9664<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>&#x1f3af; \u603b\u7ed3\u4e00\u53e5\u8bdd<\/h2>\n<p>&#x1f449; Iterator \u662f\u904d\u5386\u96c6\u5408\u5e76\u5b89\u5168\u5220\u9664\u5143\u7d20\u7684\u552f\u4e00\u65b9\u5f0f&#xff08;forEach \u00d7&#xff09;\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00<br \/>\n\u6700\u8fd1\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e00\u4e2a\u5f02\u5e38\u629b\u51fa&#xff0c;\u4e0d\u80fd\u5728for\u5faa\u73af\u4e2d\u5bf9\u96c6\u5408\u5143\u7d20\u8fdb\u884c\u5220\u9664&#xff0c;\u5c0f\u8bb0\u4e00\u4e0b\u8fd9\u4e2a\u65b9\u6cd5&#xff01;<br \/>\n&#x1f50d; \u4e00\u3001\u4ec0\u4e48\u662f Iterator&#xff1f;<br \/>\nIterator \u662f \u4e13\u95e8\u7528\u4e8e\u904d\u5386\u96c6\u5408&#xff08;List \/ Set&#xff09;\u5e76\u5141\u8bb8\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20\u7684\u63a5\u53e3\u3002\u5b83\u662f Java Collection \u6846\u67b6\u7684\u91cd\u8981\u6210\u5458&#xff0c;\u907f\u514d foreach \u5220\u9664\u65f6\u62a5 ConcurrentModification<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[99,101],"topic":[],"class_list":["post-67103","post","type-post","status-publish","format-standard","hentry","category-server","tag-java","tag-spring"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528Iterator\u8fed\u4ee3\u5668\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\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.wsisp.com\/helps\/67103.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528Iterator\u8fed\u4ee3\u5668\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u524d\u8a00 \u6700\u8fd1\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e00\u4e2a\u5f02\u5e38\u629b\u51fa&#xff0c;\u4e0d\u80fd\u5728for\u5faa\u73af\u4e2d\u5bf9\u96c6\u5408\u5143\u7d20\u8fdb\u884c\u5220\u9664&#xff0c;\u5c0f\u8bb0\u4e00\u4e0b\u8fd9\u4e2a\u65b9\u6cd5&#xff01; &#x1f50d; \u4e00\u3001\u4ec0\u4e48\u662f Iterator&#xff1f; Iterator \u662f \u4e13\u95e8\u7528\u4e8e\u904d\u5386\u96c6\u5408&#xff08;List \/ Set&#xff09;\u5e76\u5141\u8bb8\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20\u7684\u63a5\u53e3\u3002\u5b83\u662f Java Collection \u6846\u67b6\u7684\u91cd\u8981\u6210\u5458&#xff0c;\u907f\u514d foreach \u5220\u9664\u65f6\u62a5 ConcurrentModification\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/67103.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-28T01:08:58+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/67103.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/67103.html\",\"name\":\"\u4f7f\u7528Iterator\u8fed\u4ee3\u5668\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-01-28T01:08:58+00:00\",\"dateModified\":\"2026-01-28T01:08:58+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/67103.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/67103.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/67103.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528Iterator\u8fed\u4ee3\u5668\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528Iterator\u8fed\u4ee3\u5668\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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.wsisp.com\/helps\/67103.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528Iterator\u8fed\u4ee3\u5668\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u524d\u8a00 \u6700\u8fd1\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u9047\u5230\u4e00\u4e2a\u5f02\u5e38\u629b\u51fa&#xff0c;\u4e0d\u80fd\u5728for\u5faa\u73af\u4e2d\u5bf9\u96c6\u5408\u5143\u7d20\u8fdb\u884c\u5220\u9664&#xff0c;\u5c0f\u8bb0\u4e00\u4e0b\u8fd9\u4e2a\u65b9\u6cd5&#xff01; &#x1f50d; \u4e00\u3001\u4ec0\u4e48\u662f Iterator&#xff1f; Iterator \u662f \u4e13\u95e8\u7528\u4e8e\u904d\u5386\u96c6\u5408&#xff08;List \/ Set&#xff09;\u5e76\u5141\u8bb8\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20\u7684\u63a5\u53e3\u3002\u5b83\u662f Java Collection \u6846\u67b6\u7684\u91cd\u8981\u6210\u5458&#xff0c;\u907f\u514d foreach \u5220\u9664\u65f6\u62a5 ConcurrentModification","og_url":"https:\/\/www.wsisp.com\/helps\/67103.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-01-28T01:08:58+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/67103.html","url":"https:\/\/www.wsisp.com\/helps\/67103.html","name":"\u4f7f\u7528Iterator\u8fed\u4ee3\u5668\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-01-28T01:08:58+00:00","dateModified":"2026-01-28T01:08:58+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/67103.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/67103.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/67103.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528Iterator\u8fed\u4ee3\u5668\u5728\u904d\u5386\u4e2d\u5b89\u5168\u5220\u9664\u5143\u7d20"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/67103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=67103"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/67103\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=67103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=67103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=67103"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=67103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}