{"id":301477,"date":"2024-05-20T18:09:11","date_gmt":"2024-05-20T10:09:11","guid":{"rendered":""},"modified":"2024-05-20T18:09:35","modified_gmt":"2024-05-20T10:09:35","slug":"%e5%a6%82%e4%bd%95%e5%86%b3%e5%ae%9a%e4%bd%bf%e7%94%a8-hashmap-%e8%bf%98%e6%98%af-treemap","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/301477.html","title":{"rendered":"\u5982\u4f55\u51b3\u5b9a\u4f7f\u7528 HashMap \u8fd8\u662f TreeMap"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26213711\/17079297-add3-45bc-b5d2-18359ae97f0f.webp\" alt=\"\u5982\u4f55\u51b3\u5b9a\u4f7f\u7528 HashMap \u8fd8\u662f TreeMap\" \/><\/p>\n<p><p>\u4f7f\u7528<strong>HashMap<\/strong>\u8fd8\u662f<strong>TreeMap<\/strong>\u4e3b\u8981\u53d6\u51b3\u4e8e\u5e94\u7528\u573a\u666f\u3002<strong>HashMap<\/strong>\u63d0\u4f9b\u66f4\u5feb\u7684\u5b58\u53d6\u65f6\u95f4\u3001<strong>\u65e0\u5e8f\u96c6\u5408<\/strong>\uff1b\u800c<strong>TreeMap<\/strong>\u4fdd\u6301\u952e\u503c\u5bf9\u7684<strong>\u5347\u5e8f\u6392\u5217<\/strong>\u3002\u5177\u4f53\u9009\u62e9\u5e94\u57fa\u4e8e\u4ee5\u4e0b\u8003\u91cf\uff1a\u952e\u7684<strong>\u6392\u5e8f\u8981\u6c42<\/strong>\u3001<strong>\u63d2\u5165\u548c\u67e5\u8be2\u6027\u80fd<\/strong>\u3001<strong>\u5185\u5b58\u5f00\u9500<\/strong>\u3002<\/p>\n<\/p>\n<p><p><strong>HashMap<\/strong>\u662f\u57fa\u4e8e\u54c8\u5e0c\u8868\u5b9e\u73b0\uff0c\u63d0\u4f9b<strong>\u5e38\u6570\u65f6\u95f4\u7684\u6027\u80fd<\/strong>\uff0c\u5373O(1)\u7684\u65f6\u95f4\u590d\u6742\u5ea6\uff0c\u5bf9\u4e8e\u9891\u7e41\u7684<strong>\u67e5\u627e\u64cd\u4f5c<\/strong>\u548c<strong>\u65e0\u9700\u6392\u5e8f<\/strong>\u7684\u573a\u666f\u66f4\u4e3a\u5408\u9002\u3002\u7136\u800c\uff0c\u56e0\u4e3a\u6563\u5217\u51b2\u7a81\u548c\u586b\u5145\u56e0\u5b50\u7684\u5b58\u5728\uff0cHashMap\u7684\u6027\u80fd\u53ef\u80fd\u4f1a\u53d7\u5230\u5f71\u54cd\u3002\u5bf9\u4e8e\u5927\u91cf\u7684\u63d2\u5165\u548c\u5220\u9664\u64cd\u4f5c\uff0cHashMap\u7684\u6027\u80fd\u4f18\u52bf\u53ef\u80fd\u4f1a\u6709\u6240\u4e0b\u964d\u3002<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u63a2\u8ba8\u4e24\u79cd\u6570\u636e\u7ed3\u6784\u7684\u8be6\u7ec6\u7279\u5f81\u548c\u5e94\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001HASHMAP\u7684\u7279\u6027\u548c\u9002\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><p>HashMap\u662f\u57fa\u4e8e\u54c8\u5e0c\u8868\u7684Map\u63a5\u53e3\u5b9e\u73b0\u3002\u8fd9\u4f7f\u5f97\u5b83\u5728\u63d2\u5165\u548c\u67e5\u8be2\u952e\u503c\u5bf9\u65f6\u80fd\u591f\u4fdd\u6301\u5e73\u5747<strong>\u5e38\u6570\u65f6\u95f4<\/strong>\u7684\u6027\u80fd\u3002\u7531\u4e8e\u8fd9\u4e2a\u7279\u6027\uff0c\u5b83\u7279\u522b\u9002\u7528\u4e8e\u9700\u8981\u5feb\u901f\u5b58\u53d6\u952e\u503c\u5bf9\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h4>HashMap\u7684\u7279\u6027\uff1a<\/h4>\n<\/p>\n<p><p><strong>1. \u64cd\u4f5c\u6027\u80fd<\/strong>\uff1aHashMap\u63d0\u4f9b\u4e86O(1)\u65f6\u95f4\u6027\u80fd\u5bf9\u4e8e\u57fa\u672c\u64cd\u4f5c\uff0c\u5982\u83b7\u53d6\u548c\u63d2\u5165\u5143\u7d20\u3002\u8fd9\u79cd\u6027\u80fd\u662f\u7531\u4e8e\u4f7f\u7528\u54c8\u5e0c\u51fd\u6570\u6765\u5c06\u5143\u7d20\u5206\u6563\u5b58\u653e\u5230\u6876\u4e2d\u3002<\/p>\n<p><strong>2. \u952e\u7684\u65e0\u5e8f\u6027<\/strong>\uff1aHashMap\u4e2d\u7684\u5143\u7d20\u5e76\u4e0d\u662f\u6309\u7167\u952e\u503c\u7684\u987a\u5e8f\u6765\u5b58\u653e\u7684\uff0c\u5b58\u50a8\u987a\u5e8f\u4e0e\u952e\u7684hash\u7801\u6709\u5173\u3002<\/p>\n<\/p>\n<p><h4>HashMap\u7684\u9002\u7528\u573a\u666f\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u5feb\u901f\u67e5\u627e<\/strong>\uff1a\u5f53\u5e94\u7528\u9700\u8981\u5feb\u901f\u5b9a\u4f4d\u5143\u7d20\u65f6\uff0cHashMap\u662f\u8f83\u597d\u7684\u9009\u62e9\u3002<\/li>\n<li><strong>\u952e\u7684\u65e0\u5e8f\u96c6\u5408<\/strong>\uff1a\u5982\u679c\u4e0d\u9700\u8981\u5bf9\u952e\u8fdb\u884c\u6392\u5e8f\uff0cHashMap\u63d0\u4f9b\u4e86\u4e00\u4e2a\u7075\u6d3b\u7684\u5bb9\u5668\u3002<\/li>\n<li><strong>\u9ad8\u9891\u6570\u636e\u64cd\u4f5c<\/strong>\uff1a\u9891\u7e41\u63d2\u5165\u5220\u9664\u952e\u503c\u5bf9\u7684\u573a\u666f\u4e0b\uff0cHashMap\u7684\u6027\u80fd\u8868\u73b0\u76f8\u5bf9\u8f83\u597d\u3002<\/li>\n<\/ol>\n<p><h3>\u4e8c\u3001TREEMAP\u7684\u7279\u6027\u548c\u9002\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><p>TreeMap\u662f\u4e00\u4e2a\u57fa\u4e8e\u7ea2\u9ed1\u6811\u7684NavigableMap\u5b9e\u73b0\uff0c\u5b83\u628a\u952e\u503c\u5bf9\u5b58\u50a8\u5728\u4e00\u68f5\u5e73\u8861\u7684\u641c\u7d22\u6811\u4e2d\uff0c\u8fd9\u6837\u80fd\u591f\u4fdd\u8bc1\u6240\u6709\u7684\u64cd\u4f5c\uff08\u5982\u201cget\u201d\u548c\u201cput\u201d\uff09\u90fd\u80fd\u5728\u5bf9\u6570\u65f6\u95f4\u5185\u5b8c\u6210\uff0c\u5373O(log(n))\u3002<\/p>\n<\/p>\n<p><h4>TreeMap\u7684\u7279\u6027\uff1a<\/h4>\n<\/p>\n<p><p><strong>1. \u952e\u7684\u6709\u5e8f\u6027<\/strong>\uff1aTreeMap\u6309\u7167\u6bd4\u8f83\u5668\uff08\u81ea\u7136\u987a\u5e8f\u6216\u81ea\u5b9a\u4e49\u987a\u5e8f\uff09\u4fdd\u5b58\u952e\u6309\u5347\u5e8f\u6392\u5217\uff0c\u8fd9\u63d0\u4f9b\u4e86\u4e00\u79cd\u6309\u7167\u987a\u5e8f\u8bbf\u95ee\u952e\u503c\u5bf9\u7684\u65b9\u5f0f\u3002<\/p>\n<p><strong>2. \u6027\u80fd\u7279\u70b9<\/strong>\uff1a\u76f8\u8f83\u4e8eHashMap\uff0cTreeMap\u5728\u63d2\u5165\u548c\u67e5\u8be2\u64cd\u4f5c\u4e2d\u63d0\u4f9b\u4e86O(log(n))\u7684\u6027\u80fd\u8868\u73b0\u3002<\/p>\n<\/p>\n<p><h4>TreeMap\u7684\u9002\u7528\u573a\u666f\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u952e\u7684\u81ea\u7136\u6392\u5e8f<\/strong>\uff1a\u5982\u679c\u9700\u8981\u6309\u7167\u987a\u5e8f\u6765\u8bbf\u95ee\u952e\u503c\u5bf9\uff0c\u9009\u62e9TreeMap\u662f\u6070\u5f53\u7684\u3002<\/li>\n<li><strong>\u7ed3\u6784\u5316\u5206\u6790<\/strong>\uff1a\u9700\u8981\u6839\u636e\u952e\u7684\u987a\u5e8f\u8fdb\u884c\u904d\u5386\u548c\u6570\u636e\u5206\u6790\u65f6\uff0cTreeMap\u63d0\u4f9b\u4e86\u6709\u6548\u7684\u6570\u636e\u7ed3\u6784\u652f\u6301\u3002<\/li>\n<li><strong>\u8303\u56f4\u641c\u7d22<\/strong>\uff1a\u7531\u4e8eTreeMap\u57fa\u4e8e\u7ea2\u9ed1\u6811\u5b9e\u73b0\uff0c\u8303\u56f4\u641c\u7d22\u548c\u5b50\u56fe\u64cd\u4f5c\u5bf9TreeMap\u6765\u8bf4\u8f83\u4e3a\u65b9\u4fbf\u548c\u9ad8\u6548\u3002<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u6027\u80fd\u5bf9\u6bd4<\/h3>\n<\/p>\n<p><p>\u533a\u5206HashMap\u548cTreeMap\u6700\u91cd\u8981\u7684\u6027\u80fd\u6307\u6807\u662f\u5b83\u4eec\u5728\u5404\u81ea\u64cd\u4f5c\u4e0a\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u3002\u5bf9\u4e8eHashMap\uff0c\u57fa\u672c\u64cd\u4f5c\uff08\u5982\u6dfb\u52a0\u3001\u5220\u9664\u3001\u5305\u542b\u548c\u68c0\u7d22\uff09\u901a\u5e38\u90fd\u6709O(1)\u7684\u65f6\u95f4\u590d\u6742\u5ea6\uff0c\u8fd9\u662f\u56e0\u4e3a\u5b83\u4eec\u4f9d\u8d56\u4e8e\u6570\u7ec4\u7684\u76f4\u63a5\u7d22\u5f15\u5b9a\u4f4d\u3002 TreeMap\u64cd\u4f5c\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u901a\u5e38\u662fO(log(n))\uff0c\u56e0\u4e3a\u5fc5\u987b\u901a\u8fc7\u7ea2\u9ed1\u6811\u904d\u5386\u8282\u70b9\u6765\u6267\u884c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h4>\u6027\u80fd\u56e0\u7d20\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>\u63d2\u5165\u6027\u80fd<\/strong>\uff1aHashMap\u56e0\u4e3a\u65f6\u95f4\u590d\u6742\u5ea6\u901a\u5e38\u662f\u5e38\u6570\u7ea7\u522b\uff0c\u6240\u4ee5\u5728\u63d2\u5165\u65f6\u901a\u5e38\u6bd4TreeMap\u8981\u5feb\u3002<\/li>\n<li><strong>\u67e5\u627e\u6027\u80fd<\/strong>\uff1a\u540c\u6837\uff0c\u5728\u67e5\u627e\u5143\u7d20\u65f6\uff0cHashMap\u4e5f\u901a\u5e38\u63d0\u4f9b\u66f4\u597d\u7684\u6027\u80fd\u3002<\/li>\n<li><strong>\u952e\u6392\u5e8f<\/strong>\uff1a\u5728HashMap\u4e2d\u8fdb\u884c\u6392\u5e8f\u9700\u8981\u5916\u90e8\u64cd\u4f5c\uff0c\u800cTreeMap\u5219\u652f\u6301\u5185\u90e8\u81ea\u7136\u6392\u5e8f\u3002<\/li>\n<\/ol>\n<p><h3>\u56db\u3001\u5185\u5b58\u5f00\u9500<\/h3>\n<\/p>\n<p><p>\u5728\u5185\u5b58\u5f00\u9500\u65b9\u9762\uff0c\u7531\u4e8eTreeMap\u662f\u7ea2\u9ed1\u6811\u7684\u5b9e\u73b0\uff0c\u5176\u8282\u70b9\u5305\u542b\u4e86\u989d\u5916\u7684\u4fe1\u606f\uff0c\u6bd4\u5982\u989c\u8272\u3001\u5de6\u53f3\u5b50\u6811\u5f15\u7528\u7b49\uff0c\u56e0\u6b64\u5bf9\u5185\u5b58\u7684\u5360\u7528\u8981\u9ad8\u4e8eHashMap\u3002HashMap\u5219\u56e0\u4e3a\u5176\u6570\u7ec4\u52a0\u94fe\u8868\uff08\u6216\u5728Java 8\u4e2d\u4e3a\u6570\u7ec4\u52a0\u94fe\u8868\u52a0\u7ea2\u9ed1\u6811\uff09\u7684\u6570\u636e\u7ed3\u6784\uff0c\u5728\u88c5\u8f7d\u56e0\u5b50\u672a\u8fbe\u5230\u91cd\u54c8\u5e0c\u9608\u503c\u4e4b\u524d\uff0c\u5185\u5b58\u5f00\u9500\u8f83\u5c0f\u3002<\/p>\n<\/p>\n<p><h4>\u5185\u5b58\u6548\u7387\uff1a<\/h4>\n<\/p>\n<ol>\n<li><strong>HashMap\u5185\u5b58\u5f00\u9500<\/strong>\uff1a\u76f8\u5bf9\u8f83\u4f4e\u4f46\u968f\u7740\u94fe\u8868\u957f\u5ea6\u589e\u52a0\u800c\u589e\u52a0\uff0c\u5728Java 8\u4e2d\u53ef\u80fd\u5728\u7279\u5b9a\u60c5\u51b5\u4e0b\u8f6c\u5316\u4e3a\u7ea2\u9ed1\u6811\uff0c\u4ee5\u51cf\u5c11\u641c\u7d22\u65f6\u95f4\u3002<\/li>\n<li><strong>TreeMap\u5185\u5b58\u5f00\u9500<\/strong>\uff1a\u5185\u5b58\u5360\u7528\u9ad8\u4e8eHashMap\uff0c\u56e0\u4e3a\u6bcf\u4e2a\u8282\u70b9\u90fd\u9700\u8981\u989d\u5916\u5b58\u50a8\u7236\u8282\u70b9\u3001\u5b50\u8282\u70b9\u548c\u989c\u8272\u7b49\u4fe1\u606f\u3002<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u5e94\u7528\u5efa\u8bae<\/h3>\n<\/p>\n<p><p>\u5728\u9009\u62e9\u4f7f\u7528HashMap\u6216TreeMap\u65f6\uff0c\u4e00\u5b9a\u8981\u6839\u636e\u5b9e\u9645\u9700\u6c42\u614e\u91cd\u8003\u8651\u3002\u5982\u679c\u9700\u8981\u9ad8\u6548\u7684\u67e5\u8be2\u548c\u63d2\u5165\uff0c\u800c\u5bf9\u5143\u7d20\u7684\u8fed\u4ee3\u987a\u5e8f\u6ca1\u6709\u7279\u5b9a\u8981\u6c42\uff0c\u5e94\u9996\u9009HashMap\u3002\u5982\u679c\u5143\u7d20\u7684\u6392\u5e8f\u975e\u5e38\u5173\u952e\uff0c\u6216\u9700\u8981\u57fa\u4e8e\u952e\u7684\u6709\u5e8f\u7279\u6027\u8fdb\u884c\u8303\u56f4\u641c\u7d22\u6216\u6392\u5e8f\u5206\u6790\uff0c\u90a3\u4e48TreeMap\u4f1a\u662f\u66f4\u5408\u9002\u7684\u9009\u62e9\u3002\u5728\u5185\u5b58\u4f7f\u7528\u53d7\u9650\u573a\u666f\u4e0b\uff0cHashMap\u901a\u5e38\u662f\u66f4\u8282\u7701\u5185\u5b58\u7684\u9009\u9879\u3002<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u53ef\u4ee5\u6743\u8861\u6027\u80fd\u3001\u5185\u5b58\u548c\u529f\u80fd\u9700\u6c42\u6765\u51b3\u5b9a\u6700\u9002\u7528\u7684\u6570\u636e\u7ed3\u6784\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u8003\u8651\u5176\u4ed6\u5982LinkedHashMap\u548cConcurrentHashMap\u7b49Map\u5b9e\u73b0\uff0c\u4ee5\u9002\u5e94\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u4ec0\u4e48\u662fHashMap\u548cTreeMap\uff1f\u5b83\u4eec\u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/strong><\/p>\n<p>HashMap\u548cTreeMap\u90fd\u662fJava\u4e2d\u7684\u96c6\u5408\u7c7b\uff0c\u7528\u4e8e\u5b58\u50a8\u952e\u503c\u5bf9\u3002HashMap\u4f7f\u7528\u54c8\u5e0c\u8868\u5b9e\u73b0\uff0cTreeMap\u4f7f\u7528\u5e73\u8861\u4e8c\u53c9\u6811\uff08\u7ea2\u9ed1\u6811\uff09\u5b9e\u73b0\u3002\u533a\u522b\u5728\u4e8eHashMap\u4e0d\u4fdd\u8bc1\u5143\u7d20\u7684\u987a\u5e8f\uff0c\u800cTreeMap\u6309\u7167\u952e\u7684\u81ea\u7136\u987a\u5e8f\u6216\u81ea\u5b9a\u4e49\u7684\u6bd4\u8f83\u5668\u987a\u5e8f\u8fdb\u884c\u6392\u5e8f\u3002<\/p>\n<p><strong>2. \u6211\u8be5\u5982\u4f55\u51b3\u5b9a\u4f7f\u7528HashMap\u8fd8\u662fTreeMap\uff1f<\/strong><\/p>\n<p>\u8981\u51b3\u5b9a\u4f7f\u7528HashMap\u8fd8\u662fTreeMap\uff0c\u9700\u8981\u8003\u8651\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n<ul>\n<li>\u662f\u5426\u9700\u8981\u4fdd\u6301\u5143\u7d20\u7684\u63d2\u5165\u987a\u5e8f\u6216\u6309\u7167\u952e\u7684\u987a\u5e8f\u8fdb\u884c\u904d\u5386\uff1f\u5982\u679c\u662f\uff0c\u5e94\u4f7f\u7528TreeMap\u3002<\/li>\n<li>\u662f\u5426\u9700\u8981\u5feb\u901f\u7684\u67e5\u627e\u3001\u63d2\u5165\u548c\u5220\u9664\u64cd\u4f5c\uff1f\u5982\u679c\u662f\uff0cHashMap\u7684\u6027\u80fd\u901a\u5e38\u6bd4TreeMap\u66f4\u597d\u3002<\/li>\n<li>\u662f\u5426\u9700\u8981\u652f\u6301null\u952e\u548cnull\u503c\uff1fHashMap\u5141\u8bb8null\u952e\u548cnull\u503c\uff0c\u800cTreeMap\u4e0d\u5141\u8bb8\u3002<\/li>\n<li>\u662f\u5426\u9700\u8981\u81ea\u5b9a\u4e49\u7684\u952e\u7684\u6392\u5e8f\u65b9\u5f0f\uff1f\u5982\u679c\u662f\uff0c\u5e94\u4f7f\u7528TreeMap\uff0c\u5e76\u5b9e\u73b0Comparator\u63a5\u53e3\u3002<\/li>\n<\/ul>\n<p><strong>3. HashMap\u548cTreeMap\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u662f\u591a\u5c11\uff1f<\/strong><\/p>\n<p>\u5bf9\u4e8eHashMap\uff0c\u5e73\u5747\u60c5\u51b5\u4e0b\uff0c\u67e5\u627e\u3001\u63d2\u5165\u548c\u5220\u9664\u64cd\u4f5c\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u90fd\u662fO(1)\u3002\u4f46\u6700\u574f\u60c5\u51b5\u4e0b\uff0c\u65f6\u95f4\u590d\u6742\u5ea6\u53ef\u80fd\u4e3aO(n)\u3002\u5728\u54c8\u5e0c\u51b2\u7a81\u8f83\u5c11\u7684\u60c5\u51b5\u4e0b\uff0cHashMap\u7684\u6027\u80fd\u901a\u5e38\u662f\u6bd4\u8f83\u7a33\u5b9a\u7684\u3002<\/p>\n<p>\u5bf9\u4e8eTreeMap\uff0c\u67e5\u627e\u3001\u63d2\u5165\u548c\u5220\u9664\u64cd\u4f5c\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u90fd\u662fO(log n)\u3002\u7531\u4e8e\u7ea2\u9ed1\u6811\u7684\u5e73\u8861\u6027\u8d28\uff0cTreeMap\u7684\u6027\u80fd\u5728\u5404\u79cd\u60c5\u51b5\u4e0b\u90fd\u76f8\u5bf9\u7a33\u5b9a\uff0c\u5728\u8f83\u5927\u89c4\u6a21\u6570\u636e\u96c6\u4e0b\u8868\u73b0\u826f\u597d\u3002<\/p>\n<p>\u6839\u636e\u5177\u4f53\u7684\u9700\u6c42\u548c\u6570\u636e\u7279\u70b9\uff0c\u4f60\u53ef\u4ee5\u9009\u62e9\u6027\u80fd\u66f4\u9ad8\u6216\u529f\u80fd\u66f4\u4e30\u5bcc\u7684\u96c6\u5408\u7c7b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528HashMap\u8fd8\u662fTreeMap\u4e3b\u8981\u53d6\u51b3\u4e8e\u5e94\u7528\u573a\u666f\u3002HashMap\u63d0\u4f9b\u66f4\u5feb\u7684\u5b58\u53d6\u65f6\u95f4\u3001\u65e0\u5e8f\u96c6\u5408\uff1b\u800cTree [&hellip;]","protected":false},"author":3,"featured_media":301505,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/301477"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=301477"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/301477\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/301505"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=301477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=301477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=301477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}