{"id":10006391,"date":"2022-09-02T23:51:04","date_gmt":"2022-09-02T15:51:04","guid":{"rendered":"https:\/\/ityet.com\/?p=10006391"},"modified":"2022-09-02T23:51:04","modified_gmt":"2022-09-02T15:51:04","slug":"%e6%b1%82%e6%b1%82%e4%bd%a0%e4%bb%ac%e4%ba%86%ef%bc%8c%e5%88%ab%e5%86%8d%e4%b9%b1%e7%94%a8-parallelstream-%e4%ba%86%ef%bc%8c%e9%80%9f%e5%ba%a6%e7%ab%9f%e7%84%b6%e6%af%94-stream-%e8%bf%98%e8%a6%81","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10006391","title":{"rendered":"\u6c42\u6c42\u4f60\u4eec\u4e86\uff0c\u522b\u518d\u4e71\u7528 parallelStream \u4e86\uff0c\u901f\u5ea6\u7adf\u7136\u6bd4 Stream \u8fd8\u8981\u6162\uff01\uff01"},"content":{"rendered":"<h2>parallelStream \u4e00\u5b9a\u66f4\u5feb\u5417\uff1f<\/h2>\n<p>\u5927\u5bb6\u90fd\u77e5\u9053 Stream \u5206\u4e3a\u987a\u5e8f\u6d41\u548c\u5e76\u884c\u6d41\uff1a<\/p>\n<ul>\n<li>stream\uff08\u987a\u5e8f\u6d41\uff09<\/li>\n<li>parallelStream\uff08\u5e76\u884c\u6d41\uff09<\/li>\n<\/ul>\n<p>\u5b83\u4eec\u6700\u5927\u7684\u533a\u522b\u5c31\u662f parallelStream \u652f\u6301\u5e76\u884c\u5316\u5904\u7406\uff0c\u6240\u4ee5\u6548\u7387\u8f83 stream\uff08\u987a\u5e8f\u6d41\uff09\u80af\u5b9a\u662f\u8981\u66f4\u5feb\u7684\u3002\u8fd9\u7bc7\u4e0d\u4f1a\u4ecb\u7ecd Stream \u57fa\u7840\uff0cStream \u7cfb\u5217\u6211\u4e4b\u524d\u5199\u8fc7\u4e00\u4e2a\u4e13\u9898\u4e86\uff0c\u4e0d\u61c2\u7684\u5173\u6ce8\u516c\u4f17\u53f7Java\u6280\u672f\u6808\uff0c\u7136\u540e\u5728\u516c\u4f17\u53f7 Java \u6559\u7a0b\u83dc\u5355\u4e2d\u9605\u8bfb\u3002<\/p>\n<p><strong>\u7136\u800c\u4f60\u786e\u5b9a parallelStream \u4e00\u5b9a\u8981\u66f4\u5feb\u5417\uff1f<\/strong><\/p>\n<p>\u6808\u957f\u5199\u4e86\u4e00\u6bb5\u6392\u5e8f\u7684\u793a\u4f8b\uff0c\u5206\u522b\u7528 stream \u548c parallelStream\uff0c\u5bf9 100 ~ 10000000 \u6761\u6570\u636e\u7684\u96c6\u5408\u8fdb\u884c\u6392\u5e8f\uff0c\u6765\u770b\u4e0b\u6267\u884c\u6548\u7387\u7a76\u7adf\u5982\u4f55\uff01<\/p>\n<p><strong><em>\u987a\u5e8f\u6d41\u6392\u5e8f\uff1a<\/em><\/strong><\/p>\n<pre><code>\/**\n * \u987a\u5e8f\u6d41\u6392\u5e8f\n * @author: \u6808\u957f\n * @from: \u516c\u4f17\u53f7Java\u6280\u672f\u6808\n *\/\nprivate static void streamSort() {\n    long start = System.currentTimeMillis();\n    List&lt;SortTest.User&gt; list = new ArrayList&lt;&gt;(LIST);\n\n    list.stream().sorted(SortTest.User::compareAge).collect(Collectors.toList());\n\n    System.out.println(&quot;\/nList size: &quot; + list.size() + &quot; Stream.sorted: &quot; + (System.currentTimeMillis() - start));\n}<\/code><\/pre>\n<p><strong><em>\u5e76\u884c\u6d41\u6392\u5e8f\uff1a<\/em><\/strong><\/p>\n<pre><code>\/**\n * \u5e76\u884c\u6d41\u6392\u5e8f\n * @author: \u6808\u957f\n * @from: \u516c\u4f17\u53f7Java\u6280\u672f\u6808\n *\/\nprivate static void parallelStreamSort() {\n    long start = System.currentTimeMillis();\n    List&lt;SortTest.User&gt; list = new ArrayList&lt;&gt;(LIST);\n\n    list.parallelStream().sorted(SortTest.User::compareAge).collect(Collectors.toList());\n\n    System.out.println(&quot;List size: &quot; + list.size() + &quot; ParallelStream.sorted: &quot; + (System.currentTimeMillis() - start));\n}<\/code><\/pre>\n<p>\u672c\u6587\u6240\u6709\u5b8c\u6574\u793a\u4f8b\u6e90\u4ee3\u7801\u5df2\u7ecf\u4e0a\u4f20\uff1a<\/p>\n<blockquote><p><a href=\"https:\/\/link.segmentfault.com\/?enc=uB5IYumPNRBIkpOz3fyNXA%3D%3D.39MHQMCOnGLTbkQmL2nZ4E2G0rI5w9QfLNmFfQz7g0%2F8ZWb4gr6%2FR7M2tmyx%2FDDv\" rel=\"nofollow\">https:\/\/github.com\/javastacks&#8230;<\/a><\/p><\/blockquote>\n<p><strong>\u6267\u884c\u7ed3\u679c\u5982\u4e0b\uff1a<\/strong><\/p>\n<blockquote>\n<p>List size: 10000000 Stream.sorted: 202<br \/>List size: 10000000 ParallelStream.sorted: 402<\/p>\n<p>List size: 1000000 Stream.sorted: 53<br \/>List size: 1000000 ParallelStream.sorted: 15<\/p>\n<p>List size: 100000 Stream.sorted: 1<br \/>List size: 100000 ParallelStream.sorted: 2<\/p>\n<p>List size: 10000 Stream.sorted: 0<br \/>List size: 10000 ParallelStream.sorted: 1<\/p>\n<p>List size: 1000 Stream.sorted: 0<br \/>List size: 1000 ParallelStream.sorted: 1<\/p>\n<p>List size: 100 Stream.sorted: 0<br \/>List size: 100 ParallelStream.sorted: 0<\/p>\n<\/blockquote>\n<p>\u5728 100000 \u4ee5\u4e0b\u662f\u6ca1\u4ec0\u4e48\u533a\u522b\u7684\uff1b<\/p>\n<p>\u5728 1000000 \u5de6\u53f3 ParallelStream \u867d\u7136\u9886\u5148 Stream\uff0c\u4f46\u4e5f\u4e0d\u662f\u7edd\u5bf9\u6bcf\u6b21\u90fd\u9886\u5148\uff0c\u7ecf\u8fc7\u4e0d\u65ad\u6d4b\u8bd5\uff0c\u8fd9\u4e2a\u6570\u636e\u91cf\u533a\u95f4\u7684\u6d4b\u8bd5\u4e24\u8005\u4f1a\u4e92\u76f8\u9886\u5148\uff1b<\/p>\n<p>\u5728 10000000 \u5de6\u53f3\u5c31\u5f88\u7a33\u5b9a\u4e86\uff0cParallelStream \u51e0\u4e4e\u6bd4 Stream \u6162\u4e86 2 \u500d\uff01<\/p>\n<p><strong>\u73b0\u5728\u4f60\u53ef\u80fd\u4f1a\u6709\u7591\u95ee\u4e86\uff0c\u4e3a\u4ec0\u4e48\u4f1a\u8fd9\u6837\uff1f<\/strong><\/p>\n<p>\u6808\u957f\u8d77\u521d\u4e5f\u6709\u7591\u95ee\uff0c\u5e76\u884c\u6d41\uff08ParallelStream\uff09\u600e\u4e48\u4f1a\u6bd4\u987a\u5e8f\u6d41\uff08Stream\uff09\u8fd8\u8981\u6162\u3002\u3002<\/p>\n<p>\u5176\u5b9e\u6211\u540e\u9762\u60f3\u60f3\u4e5f\u5c31\u660e\u767d\u4e86\uff0c\u5e76\u884c\u6d41\uff08ParallelStream\uff09\u7684\u80cc\u540e\u5176\u5b9e\u662f Java7 \u5f00\u59cb\u652f\u6301\u7684 <a href=\"https:\/\/link.segmentfault.com\/?enc=ScKExcDo3izjtqLy4ont5Q%3D%3D.BQ0meBdOcWCvtiUlb0kzPWZyGomnXiDJtcbKYfM5Q%2Bg5D%2B%2FzU%2BMkKGPyFxQtWLqySgRzrH7juf4SJV40SLDbpg%3D%3D\" rel=\"nofollow\">Fork\/Join<\/a>\uff0c\u5373\u628a\u4e00\u4e2a\u5927\u4efb\u52a1\u62c6\u5206\u6210 N \u4e2a\u5c0f\u4efb\u52a1\uff0c\u7136\u540e\u6700\u7ec8\u5408\u5e76\u5404\u4e2a\u5b50\u4efb\u52a1\u7684\u7ed3\u679c\uff0c\u6240\u4ee5\u5bf9\u4e8e\u5b50\u4efb\u52a1\u7ebf\u7a0b\u7684\u62c6\u5206\u3001\u521b\u5efa\u3001\u7ed3\u679c\u5408\u5e76\u7b49\u64cd\u4f5c\u90fd\u9700\u8981\u4e0d\u5c11\u7684\u5f00\u9500\uff0c\u7279\u522b\u662f\u7ebf\u7a0b\u7684\u521b\u5efa\u3002<\/p>\n<p>\u6240\u4ee5\u8fd9\u79cd\u4e0d\u8017\u65f6\u7684\u7b80\u5355\u6392\u5e8f\u64cd\u4f5c\u4e8b\u5b9e\u4e0a\u662f\u4e0d\u9002\u7528\u4e8e\u5e76\u884c\u6d41\uff08ParallelStream\uff09\u7684\uff0c\u5b83\u6240\u5e26\u6765\u7684\u7ebf\u7a0b\u521b\u5efa\u7684\u635f\u8017\u53ef\u80fd\u8fd8\u4f1a\u6bd4\u987a\u5e8f\u6d41\uff08Stream\uff09\u8fd8\u8981\u66f4\u6162\u3002<\/p>\n<p>\u6700\u65b0 Java 8+ \u9762\u8bd5\u9898\u4e5f\u90fd\u6574\u7406\u597d\u4e86\uff0c\u70b9\u51fbJava\u9762\u8bd5\u5e93\u5c0f\u7a0b\u5e8f\u5728\u7ebf\u5237\u9898\u3002<\/p>\n<h2>\u4ec0\u4e48\u65f6\u5019\u7528 ParallelStream\uff1f<\/h2>\n<p>\u65e2\u7136\u4f7f\u7528 <a href=\"https:\/\/link.segmentfault.com\/?enc=Nej3b0wWB6pebgx1o%2FypHQ%3D%3D.eAOFYWAhYfmkrbpjKY%2FUe2dV2xE%2FfYn51j1O3j%2Ft6nnV5rzrYivKw7a08xVsqB7KqqXRvaMEKfvDmQL1kl2ELQ%3D%3D\" rel=\"nofollow\">Fork\/Join<\/a> \u662f\u4f1a\u6709\u635f\u8017\u7684\uff0c\u90a3\u5bf9\u4e8e\u5355\u6761\u6570\u636e\u7684\u5904\u7406\u7684\u65f6\u95f4\u6700\u597d\u662f\u7406\u8bba\u4e0a\u8981\u8d85\u8fc7\u7528\u5e76\u884c\u6d41\uff08ParallelStream\uff09\u672c\u8eab\u7684\u635f\u8017\uff0c\u8fd9\u79cd\u60c5\u51b5\u4e0b\u5c31\u6bd4\u8f83\u5408\u9002\u3002<\/p>\n<p>\u4e5f\u5c31\u662f\u8bf4\uff0c\u5982\u679c\u5bf9\u4e8e\u6d41\u4e2d\u7684\u6bcf\u6761\u6570\u636e\u7684\u5904\u7406\u6bd4\u8f83\u8d39\u65f6\u95f4\uff0c\u5e76\u4e14\u6ca1\u6709\u987a\u5e8f\u8981\u6c42\uff0c\u8fd9\u79cd\u573a\u666f\u4e0b\u7528\u5e76\u884c\u6d41\uff08ParallelStream\uff09\u4f1a\u66f4\u5feb\uff0c\u66f4\u5408\u9002\u3002<\/p>\n<p>\u6765\u770b\u4e0b\u9762\u8fd9\u4e2a\u793a\u4f8b\uff1a<\/p>\n<p><strong><em>\u987a\u5e8f\u6d41\u6570\u636e\u5904\u7406\uff1a<\/em><\/strong><\/p>\n<pre><code>\/**\n * \u987a\u5e8f\u6d41\u6570\u636e\u5904\u7406\n * @author: \u6808\u957f\n * @from: \u516c\u4f17\u53f7Java\u6280\u672f\u6808\n *\/\nprivate static void streamProcess() {\n    long start = System.currentTimeMillis();\n    List&lt;SortTest.User&gt; list = new ArrayList&lt;&gt;(LIST);\n\n    list.stream().map(StreamSpeedTest::process).collect(Collectors.toList());\n\n    System.out.println(&quot;\/nList size: &quot; + list.size() + &quot; Stream process: &quot; + (System.currentTimeMillis() - start));\n}<\/code><\/pre>\n<p><strong><em>\u5e76\u884c\u6d41\u6570\u636e\u5904\u7406\uff1a<\/em><\/strong><\/p>\n<pre><code>\/**\n * \u5e76\u884c\u6d41\u6570\u636e\u5904\u7406\n * @author: \u6808\u957f\n * @from: \u516c\u4f17\u53f7Java\u6280\u672f\u6808\n *\/\nprivate static void parallelStreamProcess() {\n    long start = System.currentTimeMillis();\n    List&lt;SortTest.User&gt; list = new ArrayList&lt;&gt;(LIST);\n\n    list.parallelStream().map(StreamSpeedTest::process).collect(Collectors.toList());\n\n    System.out.println(&quot;List size: &quot; + list.size() + &quot; ParallelStream process: &quot; + (System.currentTimeMillis() - start));\n}<\/code><\/pre>\n<p><strong><em>\u6570\u636e\u5904\u7406\uff1a<\/em><\/strong><\/p>\n<pre><code>\/**\n * \u6570\u636e\u5904\u7406\n * @author: \u6808\u957f\n * @from: \u516c\u4f17\u53f7Java\u6280\u672f\u6808\n *\/\nprivate static SortTest.User process(SortTest.User user) {\n    try {\n        user.setName(user.getName() + &quot;: process&quot;);\n        Thread.sleep(5);\n    } catch (InterruptedException e) {\n        e.printStackTrace();\n    }\n    return user;\n}<\/code><\/pre>\n<p><strong>\u6ce8\u610f\uff1a<\/strong> \u8fd9\u91cc\u52a0\u4e86\u4e2a\u4f11\u7720 5 \u6beb\u79d2\uff0c\u4e3a\u4e86\u4f53\u73b0\u771f\u5b9e\u7684\u5904\u7406\u6570\u636e\u8017\u65f6\u3002<\/p>\n<p>\u672c\u6587\u6240\u6709\u5b8c\u6574\u793a\u4f8b\u6e90\u4ee3\u7801\u5df2\u7ecf\u4e0a\u4f20\uff1a<\/p>\n<blockquote><p><a href=\"https:\/\/link.segmentfault.com\/?enc=%2BRXoHy9vKzOigVYcgf0ZRQ%3D%3D.5Xri6Cuj%2Fi6TdqoQ%2BVg4afXMlMXNq%2FT32DYFfsZ%2FUTpv4Edgw3dpYnLsqA3o6hgg\" rel=\"nofollow\">https:\/\/github.com\/javastacks&#8230;<\/a><\/p><\/blockquote>\n<p><strong><em>\u5e76\u884c\u6d41\u6392\u5e8f\uff1a<\/em><\/strong><\/p>\n<blockquote>\n<p>List size: 1000 Stream process: 5750<br \/>List size: 1000 ParallelStream process: 745<\/p>\n<p>List size: 100 Stream process: 566<br \/>List size: 100 ParallelStream process: 77<\/p>\n<\/blockquote>\n<p>\u7ed3\u679c\u5f88\u660e\u663e\u4e86\uff0c\u4e0d\u7ba1\u6d4b\u8bd5\u591a\u5c11\u6b21\uff0c\u5e76\u884c\u6d41\uff08ParallelStream\uff09\u7684\u5904\u7406\u901f\u5ea6\u90fd\u8981\u6bd4\u987a\u5e8f\u6d41\uff08Stream\uff09\u8981\u5feb\u51e0\u500d\uff01\uff01\u6211\u8fd9\u91cc\u53ea\u6d4b\u8bd5\u4e86 100 \u548c 1000 \u6761\u6570\u636e\uff0c\u56e0\u4e3a 10000 \u6761\u4ee5\u4e0a\u7684\u6570\u636e\u7528\u987a\u5e8f\u6d41\uff08Stream\uff09\u53ef\u80fd\u8981\u7b49\u975e\u5e38\u4e45\u3002<\/p>\n<p>\u800c\u4e14\u6211\u7a0b\u5e8f\u4e2d\u7684\u5904\u7406\u903b\u8f91\u53ea\u4f11\u7720\u4e86 5 \u6beb\u79d2\uff0c\u5982\u679c\u5b9e\u9645\u5904\u7406\u5355\u6761\u6570\u636e\u7684\u8017\u65f6\u8981\u6bd4\u8fd9\u4e2a\u66f4\u957f\uff0c\u90a3\u5e76\u884c\u6d41\uff08ParallelStream\uff09\u7684\u5904\u7406\u6548\u7387\u8fd8\u4f1a\u66f4\u660e\u663e\u3002<\/p>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u7a0d\u5fae\u603b\u7ed3\u4e0b\uff1a<\/p>\n<ul>\n<li><strong>stream\uff1a<\/strong> \u9002\u7528\u4e8e\u907f\u514d\u7ebf\u7a0b\u5b89\u5168\u95ee\u9898\u3001\u8981\u6c42\u987a\u5e8f\u6267\u884c\u3001\u6570\u636e\u5904\u7406\u7b80\u5355\u4e0d\u8017\u65f6\u7684\u4efb\u52a1\uff1b<\/li>\n<li><strong>parallelStream\uff1a<\/strong> \u9002\u7528\u4e8e\u4e0d\u5b58\u5728\u7ebf\u7a0b\u5b89\u5168\u95ee\u9898\u3001\u4e0d\u9700\u8981\u987a\u5e8f\u6027\u6267\u884c\u3001\u6570\u636e\u5904\u7406\u6bd4\u8f83\u8017\u65f6\u7684\u4efb\u52a1\uff1b<\/li>\n<\/ul>\n<p><strong>\u6240\u4ee5\uff0c\u4f60\u5b66\u5e9f\u4e86\u5417\uff1f\u8d76\u7d27\u53d1\u7ed9\u8eab\u8fb9\u7684\u540c\u4e8b\u770b\u770b\u5427\uff0c\u522b\u518d\u4e71\u7528 parallelStream \u4e86\uff01\u7528\u7684\u4e0d\u597d\uff0c\u5b58\u5728\u7ebf\u7a0b\u5b89\u5168\u95ee\u9898\u4e0d\u8bf4\uff0c\u6548\u7387\u4e0a\u53ef\u80fd\u8fd8\u4f1a\u9002\u5f97\u5176\u53cd\u3002<\/strong><\/p>\n<p>\u5927\u5bb6\u5982\u679c\u5bf9 Java 8 \u65b0\u589e\u7684\u77e5\u8bc6\u70b9\uff08Lambda\u3001Stream\u3001\u51fd\u6570\u5f0f\u63a5\u53e3\u7b49\uff09\u8fd8\u4e0d\u4f1a\u7528\u7684\u53ef\u4ee5\u5173\u6ce8\u516c\u4f17\u53f7\uff1aJava\u6280\u672f\u6808\uff0c\u5728 Java \u6559\u7a0b\u83dc\u5355\u4e2d\u9605\u8bfb\uff0cJava 8+ \u7cfb\u5217\u6559\u7a0b\u6211\u90fd\u5199\u4e86\u4e00\u5806\u4e86\u3002<\/p>\n<p>\u672c\u6587\u6240\u6709\u5b8c\u6574\u793a\u4f8b\u6e90\u4ee3\u7801\u5df2\u7ecf\u4e0a\u4f20\uff1a<\/p>\n<blockquote><p><a href=\"https:\/\/link.segmentfault.com\/?enc=D8mjdwNXchcs%2BBXMoUZr0Q%3D%3D.o8ZAttdzlY14q%2FEQwhvbR87fXkXoys%2FjdJxJeBKs4lOQZ7rYAavuMGrWeifeZlaB\" rel=\"nofollow\">https:\/\/github.com\/javastacks&#8230;<\/a><\/p><\/blockquote>\n<p>\u6b22\u8fce Star \u5b66\u4e60\uff0c\u540e\u9762 Java \u793a\u4f8b\u90fd\u4f1a\u5728\u8fd9\u4e0a\u9762\u63d0\u4f9b\uff01<\/p>\n<p>\u597d\u4e86\uff0c\u4eca\u5929\u7684\u5206\u4eab\u5c31\u5230\u8fd9\u91cc\u4e86\uff0c\u540e\u9762\u6808\u957f\u4f1a\u5206\u4eab\u66f4\u591a\u597d\u73a9\u7684 Java \u6280\u672f\u548c\u6700\u65b0\u7684\u6280\u672f\u8d44\u8baf\uff0c\u5173\u6ce8\u516c\u4f17\u53f7Java\u6280\u672f\u6808\u7b2c\u4e00\u65f6\u95f4\u63a8\u9001\uff0c\u6211\u4e5f\u5c06\u4e3b\u6d41 Java \u9762\u8bd5\u9898\u548c\u53c2\u8003\u7b54\u6848\u90fd\u6574\u7406\u597d\u4e86\uff0c\u5728\u516c\u4f17\u53f7\u540e\u53f0\u56de\u590d\u5173\u952e\u5b57 &#8220;\u9762\u8bd5&#8221; \u8fdb\u884c\u5237\u9898\u3002<\/p>\n<p>\u6700\u540e\uff0c\u89c9\u5f97\u6211\u7684\u6587\u7ae0\u5bf9\u4f60\u7528\u6536\u83b7\u7684\u8bdd\uff0c\u52a8\u52a8\u5c0f\u624b\uff0c\u7ed9\u4e2a\u5728\u770b\u3001\u8f6c\u53d1\uff0c\u539f\u521b\u4e0d\u6613\uff0c\u6808\u957f\u9700\u8981\u4f60\u7684\u9f13\u52b1\u3002<\/p>\n<blockquote><p><strong>\u7248\u6743\u58f0\u660e\uff1a<\/strong> \u672c\u6587\u7cfb\u516c\u4f17\u53f7 &#8220;Java\u6280\u672f\u6808&#8221; \u539f\u521b\uff0c\u8f6c\u8f7d\u3001\u5f15\u7528\u672c\u6587\u5185\u5bb9\u8bf7\u6ce8\u660e\u51fa\u5904\uff0c\u6284\u88ad\u3001\u6d17\u7a3f\u4e00\u5f8b\u6295\u8bc9\u4fb5\u6743\uff0c\u540e\u679c\u81ea\u8d1f\uff0c\u5e76\u4fdd\u7559\u8ffd\u7a76\u5176\u6cd5\u5f8b\u8d23\u4efb\u7684\u6743\u5229\u3002<\/p><\/blockquote>\n<p><strong>\u8fd1\u671f\u70ed\u6587\u63a8\u8350\uff1a<\/strong><\/p>\n<p>1.<a href=\"https:\/\/link.segmentfault.com\/?enc=%2BMWfh4M70c0wjtWLTnLQsA%3D%3D.zi%2FVLeYF8w572%2Bu98qOonE%2Fi17WhQpoEKUy0Ttm8S%2B8%3D\" rel=\"nofollow\">1,000+ \u9053 Java\u9762\u8bd5\u9898\u53ca\u7b54\u6848\u6574\u7406(2022\u6700\u65b0\u7248)<\/a><\/p>\n<p>2.<a href=\"https:\/\/link.segmentfault.com\/?enc=jxqIGVzpSudReH%2F3Y4st7Q%3D%3D.Hzi1FzK1jjow62vnPaurVdu30TAjYGnVuFOvPPwxKShZVdolQ4184636TY0gyunM0aEuln%2FxQBb5yDFoKWmxYg%3D%3D\" rel=\"nofollow\">\u52b2\u7206\uff01Java \u534f\u7a0b\u8981\u6765\u4e86\u3002\u3002\u3002<\/a><\/p>\n<p>3.<a href=\"https:\/\/link.segmentfault.com\/?enc=523CY%2B4aGUBa7OUGmxbUeQ%3D%3D.bjQ2dYXFd3fVV9%2BBi7LAp25HZubpp9l1zavRbSEGbK7pwgh7aldDFZspnsXGptII\" rel=\"nofollow\">Spring Boot 2.x \u6559\u7a0b\uff0c\u592a\u5168\u4e86\uff01<\/a><\/p>\n<p>4.<a href=\"https:\/\/link.segmentfault.com\/?enc=yj6bdulF0%2Fn3RPKPGAb4xQ%3D%3D.sR7QBAhptU6yNsRPNUgMZ%2B5b1C0pvmGuWW9nlEnC6qMyy7f9cJ8g%2FQfwImfmGG5qIIyZeeeNlZ6UnP9xHcUhiQ%3D%3D\" rel=\"nofollow\">\u522b\u518d\u5199\u6ee1\u5c4f\u7684\u7206\u7206\u7206\u70b8\u7c7b\u4e86\uff0c\u8bd5\u8bd5\u88c5\u9970\u5668\u6a21\u5f0f\uff0c\u8fd9\u624d\u662f\u4f18\u96c5\u7684\u65b9\u5f0f\uff01\uff01<\/a><\/p>\n<p>5.<a href=\"https:\/\/link.segmentfault.com\/?enc=d%2BmULEGUowSRntzHA9mJ0A%3D%3D.dPZ3jCtHANus9NNgAaCfVcRrVhseM2A%2BpgAitR9bNBSFjpfWvK8o05Nwf0z4H0ch7xEyjMFL5D1BndqooPbai4GZIAO4cxM%2Fu0mUyvpXz7Q%3D\" rel=\"nofollow\">\u300aJava\u5f00\u53d1\u624b\u518c\uff08\u5d69\u5c71\u7248\uff09\u300b\u6700\u65b0\u53d1\u5e03\uff0c\u901f\u901f\u4e0b\u8f7d\uff01<\/a><\/p>\n<p>\u89c9\u5f97\u4e0d\u9519\uff0c\u522b\u5fd8\u4e86\u968f\u624b\u70b9\u8d5e+\u8f6c\u53d1\u54e6\uff01<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000042424270\">https:\/\/segmentfault.com\/a\/1190000042424270<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>parallelStream \u4e00\u5b9a\u66f4\u5feb\u5417\uff1f \u5927\u5bb6\u90fd\u77e5\u9053 Stream \u5206\u4e3a\u987a\u5e8f\u6d41\u548c\u5e76\u884c\u6d41\uff1a stream\uff08\u987a\u5e8f [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[],"tags":[],"class_list":["post-10006391","post","type-post","status-publish","format-standard","hentry"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10006391"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10006391\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10006391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10006391"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10006391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}