{"id":2250,"date":"2025-03-02T18:37:59","date_gmt":"2025-03-02T10:37:59","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=2250"},"modified":"2025-03-02T18:37:59","modified_gmt":"2025-03-02T10:37:59","slug":"java-%e9%9b%86%e5%90%88%e6%a1%86%e6%9e%b6","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/03\/02\/java-%e9%9b%86%e5%90%88%e6%a1%86%e6%9e%b6\/","title":{"rendered":"Java \u96c6\u5408\u6846\u67b6"},"content":{"rendered":"\n<p>Java \u96c6\u5408\u6846\u67b6\uff08<strong>Java Collections Framework<\/strong>\uff09\u662f Java \u63d0\u4f9b\u7684\u4e00\u4e2a\u7528\u4e8e\u5b58\u50a8\u548c\u64cd\u4f5c\u6570\u636e\u7684\u7c7b\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u8bb8\u591a\u5e38\u7528\u7684\u6570\u636e\u7ed3\u6784\u548c\u7b97\u6cd5\u3002\u96c6\u5408\u6846\u67b6\u53ef\u4ee5\u5927\u5927\u7b80\u5316\u6570\u636e\u7684\u5904\u7406\uff0c\u5c24\u5176\u662f\u5728\u6d89\u53ca\u5927\u91cf\u6570\u636e\u3001\u590d\u6742\u7684\u6570\u636e\u64cd\u4f5c\u65f6\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e00\u3001Java \u96c6\u5408\u6846\u67b6\u7684\u6838\u5fc3\u7ec4\u4ef6<\/h3>\n\n\n\n<p>Java \u96c6\u5408\u6846\u67b6\u7684\u6838\u5fc3\u7ec4\u6210\u90e8\u5206\u6709 <strong>\u63a5\u53e3\uff08Interface\uff09<\/strong>\u3001<strong>\u5b9e\u73b0\u7c7b\uff08Implementation\uff09<\/strong> \u548c <strong>\u7b97\u6cd5\uff08Algorithms\uff09<\/strong>\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">1. <strong>\u63a5\u53e3\uff08Interface\uff09<\/strong><\/h4>\n\n\n\n<p>\u96c6\u5408\u6846\u67b6\u4e2d\u7684\u6838\u5fc3\u63a5\u53e3\u6709\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Collection<\/strong>\uff1a\u8fd9\u662f\u6240\u6709\u96c6\u5408\u7684\u6839\u63a5\u53e3\uff0c\u4ee3\u8868\u4e00\u4e2a\u5143\u7d20\u7684\u96c6\u5408\u3002\u5b83\u6709\u591a\u4e2a\u5b50\u63a5\u53e3\uff0c\u4f8b\u5982 <code>List<\/code>\u3001<code>Set<\/code> \u548c <code>Queue<\/code>\u3002<\/li>\n\n\n\n<li><strong>List<\/strong>\uff1a\u6709\u5e8f\u96c6\u5408\uff0c\u5141\u8bb8\u91cd\u590d\u5143\u7d20\u3002\u5b83\u662f <code>Collection<\/code> \u63a5\u53e3\u7684\u4e00\u4e2a\u5b50\u63a5\u53e3\uff0c\u5e38\u89c1\u5b9e\u73b0\u6709 <code>ArrayList<\/code> \u548c <code>LinkedList<\/code>\u3002<\/li>\n\n\n\n<li><strong>Set<\/strong>\uff1a\u4e0d\u5141\u8bb8\u91cd\u590d\u5143\u7d20\u7684\u96c6\u5408\u3002\u5b83\u662f <code>Collection<\/code> \u63a5\u53e3\u7684\u53e6\u4e00\u4e2a\u5b50\u63a5\u53e3\uff0c\u5e38\u89c1\u5b9e\u73b0\u6709 <code>HashSet<\/code> \u548c <code>TreeSet<\/code>\u3002<\/li>\n\n\n\n<li><strong>Queue<\/strong>\uff1a\u8868\u793a\u961f\u5217\u7684\u6570\u636e\u7ed3\u6784\uff0c\u9075\u5faa FIFO\uff08\u5148\u8fdb\u5148\u51fa\uff09\u539f\u5219\u3002\u5e38\u89c1\u5b9e\u73b0\u6709 <code>LinkedList<\/code> \u548c <code>PriorityQueue<\/code>\u3002<\/li>\n\n\n\n<li><strong>Map<\/strong>\uff1a\u8868\u793a\u952e\u503c\u5bf9\uff08key-value\uff09\u7684\u6620\u5c04\uff0c\u867d\u7136\u5b83\u4e0e <code>Collection<\/code> \u63a5\u53e3\u6ca1\u6709\u76f4\u63a5\u5173\u7cfb\uff0c\u4f46\u4e5f\u662f\u96c6\u5408\u6846\u67b6\u7684\u4e00\u90e8\u5206\u3002\u5e38\u89c1\u5b9e\u73b0\u6709 <code>HashMap<\/code> \u548c <code>TreeMap<\/code>\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">2. <strong>\u5b9e\u73b0\u7c7b\uff08Implementations\uff09<\/strong><\/h4>\n\n\n\n<p>Java \u63d0\u4f9b\u4e86\u4e00\u4e9b\u5e38\u89c1\u7684\u6570\u636e\u7ed3\u6784\u5b9e\u73b0\uff0c\u57fa\u4e8e\u4e0a\u8ff0\u63a5\u53e3\uff1a<\/p>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>List \u63a5\u53e3\u5b9e\u73b0\u7c7b<\/strong>\uff1a<\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>ArrayList<\/code>\uff1a\u57fa\u4e8e\u52a8\u6001\u6570\u7ec4\u5b9e\u73b0\uff0c\u652f\u6301\u5feb\u901f\u968f\u673a\u8bbf\u95ee\uff0c\u4f46\u63d2\u5165\u548c\u5220\u9664\u64cd\u4f5c\uff08\u5c24\u5176\u662f\u5728\u4e2d\u95f4\uff09\u6bd4\u8f83\u6162\u3002<\/li>\n\n\n\n<li><code>LinkedList<\/code>\uff1a\u57fa\u4e8e\u53cc\u5411\u94fe\u8868\u5b9e\u73b0\uff0c\u652f\u6301\u5feb\u901f\u63d2\u5165\u548c\u5220\u9664\u64cd\u4f5c\uff0c\u4f46\u8bbf\u95ee\u901f\u5ea6\u8f83\u6162\u3002<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Set \u63a5\u53e3\u5b9e\u73b0\u7c7b<\/strong>\uff1a<\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>HashSet<\/code>\uff1a\u57fa\u4e8e\u54c8\u5e0c\u8868\u5b9e\u73b0\uff0c\u5143\u7d20\u65e0\u5e8f\uff0c\u4e0d\u5141\u8bb8\u91cd\u590d\uff0c\u67e5\u8be2\u6548\u7387\u8f83\u9ad8\u3002<\/li>\n\n\n\n<li><code>LinkedHashSet<\/code>\uff1a\u57fa\u4e8e\u54c8\u5e0c\u8868\u548c\u94fe\u8868\u5b9e\u73b0\uff0c\u4fdd\u6301\u5143\u7d20\u63d2\u5165\u987a\u5e8f\u3002<\/li>\n\n\n\n<li><code>TreeSet<\/code>\uff1a\u57fa\u4e8e\u7ea2\u9ed1\u6811\u5b9e\u73b0\uff0c\u5143\u7d20\u6709\u5e8f\uff0c\u4e0d\u5141\u8bb8\u91cd\u590d\u3002<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Queue \u63a5\u53e3\u5b9e\u73b0\u7c7b<\/strong>\uff1a<\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>LinkedList<\/code>\uff1a\u5b9e\u73b0\u4e86 <code>Queue<\/code> \u63a5\u53e3\uff0c\u652f\u6301\u53cc\u5411\u961f\u5217\uff08Deque\uff09\u3002<\/li>\n\n\n\n<li><code>PriorityQueue<\/code>\uff1a\u5b9e\u73b0\u4e86\u57fa\u4e8e\u4f18\u5148\u7ea7\u7684\u961f\u5217\uff0c\u53ef\u4ee5\u6839\u636e\u5143\u7d20\u7684\u81ea\u7136\u987a\u5e8f\u6216\u81ea\u5b9a\u4e49\u987a\u5e8f\u6392\u5217\u5143\u7d20\u3002<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>Map \u63a5\u53e3\u5b9e\u73b0\u7c7b<\/strong>\uff1a<\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>HashMap<\/code>\uff1a\u57fa\u4e8e\u54c8\u5e0c\u8868\u5b9e\u73b0\uff0c\u952e\u503c\u5bf9\u65e0\u5e8f\uff0c\u4e0d\u5141\u8bb8\u952e\u91cd\u590d\u3002<\/li>\n\n\n\n<li><code>LinkedHashMap<\/code>\uff1a\u57fa\u4e8e\u54c8\u5e0c\u8868\u548c\u94fe\u8868\u5b9e\u73b0\uff0c\u4fdd\u6301\u63d2\u5165\u987a\u5e8f\u3002<\/li>\n\n\n\n<li><code>TreeMap<\/code>\uff1a\u57fa\u4e8e\u7ea2\u9ed1\u6811\u5b9e\u73b0\uff0c\u952e\u6709\u5e8f\u3002<\/li>\n\n\n\n<li><code>Hashtable<\/code>\uff1a\u7c7b\u4f3c\u4e8e <code>HashMap<\/code>\uff0c\u4f46\u7ebf\u7a0b\u5b89\u5168\uff08\u73b0\u5df2\u4e0d\u63a8\u8350\u4f7f\u7528\uff0c<code>ConcurrentHashMap<\/code> \u66f4\u4e3a\u5e38\u7528\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">3. <strong>\u7b97\u6cd5\uff08Algorithms\uff09<\/strong><\/h4>\n\n\n\n<p>\u96c6\u5408\u6846\u67b6\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9b\u5e38\u7528\u7684\u64cd\u4f5c\uff0c\u5982\u6392\u5e8f\u3001\u67e5\u627e\u3001\u8f6c\u6362\u7b49\u3002Java \u63d0\u4f9b\u4e86 <code>Collections<\/code> \u7c7b\u6765\u64cd\u4f5c\u96c6\u5408\u4e2d\u7684\u5143\u7d20\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ \u6392\u5e8f\nCollections.sort(list);\n\n\/\/ \u67e5\u627e\nint index = Collections.binarySearch(list, element);\n\n\/\/ \u9006\u5e8f\nCollections.reverse(list);\n\n\/\/ \u6d17\u724c\nCollections.shuffle(list);<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e8c\u3001\u96c6\u5408\u6846\u67b6\u7684\u5e38\u89c1\u64cd\u4f5c<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u6dfb\u52a0\u5143\u7d20<\/strong>\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>add(E e)<\/code>\uff1a\u5411\u96c6\u5408\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u5143\u7d20\u3002<\/li>\n\n\n\n<li><code>addAll(Collection&lt;? extends E> c)<\/code>\uff1a\u5c06\u53e6\u4e00\u4e2a\u96c6\u5408\u7684\u5143\u7d20\u6dfb\u52a0\u5230\u5f53\u524d\u96c6\u5408\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u5220\u9664\u5143\u7d20<\/strong>\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>remove(Object o)<\/code>\uff1a\u5220\u9664\u96c6\u5408\u4e2d\u7684\u4e00\u4e2a\u5143\u7d20\u3002<\/li>\n\n\n\n<li><code>removeAll(Collection&lt;?> c)<\/code>\uff1a\u5220\u9664\u5f53\u524d\u96c6\u5408\u4e2d\u4e0e\u53e6\u4e00\u4e2a\u96c6\u5408\u76f8\u540c\u7684\u5143\u7d20\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u67e5\u8be2\u5143\u7d20<\/strong>\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>contains(Object o)<\/code>\uff1a\u68c0\u67e5\u96c6\u5408\u662f\u5426\u5305\u542b\u67d0\u4e2a\u5143\u7d20\u3002<\/li>\n\n\n\n<li><code>containsAll(Collection&lt;?> c)<\/code>\uff1a\u68c0\u67e5\u96c6\u5408\u662f\u5426\u5305\u542b\u53e6\u4e00\u4e2a\u96c6\u5408\u7684\u6240\u6709\u5143\u7d20\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u5927\u5c0f\u548c\u7a7a\u5224\u65ad<\/strong>\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>size()<\/code>\uff1a\u8fd4\u56de\u96c6\u5408\u4e2d\u7684\u5143\u7d20\u6570\u91cf\u3002<\/li>\n\n\n\n<li><code>isEmpty()<\/code>\uff1a\u68c0\u67e5\u96c6\u5408\u662f\u5426\u4e3a\u7a7a\u3002<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u904d\u5386\u96c6\u5408<\/strong>\uff1a<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Iterator&lt;E><\/code>\uff1a\u4f7f\u7528\u8fed\u4ee3\u5668\u904d\u5386\u96c6\u5408\u3002<\/li>\n\n\n\n<li><code>for-each<\/code>\uff1a\u4f7f\u7528\u589e\u5f3a\u7684 <code>for<\/code> \u5faa\u73af\u904d\u5386\u96c6\u5408\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>   \/\/ \u8fed\u4ee3\u5668\u904d\u5386\n   Iterator&lt;Integer&gt; iterator = list.iterator();\n   while (iterator.hasNext()) {\n       System.out.println(iterator.next());\n   }\n\n   \/\/ for-each \u904d\u5386\n   for (Integer item : list) {\n       System.out.println(item);\n   }<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e09\u3001\u5e38\u89c1\u96c6\u5408\u7c7b\u7684\u5bf9\u6bd4<\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u96c6\u5408\u7c7b\u578b<\/th><th>\u4f18\u70b9<\/th><th>\u7f3a\u70b9<\/th><th>\u9002\u7528\u573a\u666f<\/th><\/tr><\/thead><tbody><tr><td><strong>ArrayList<\/strong><\/td><td>\u5feb\u901f\u968f\u673a\u8bbf\u95ee\uff0c\u6269\u5c55\u6027\u5f3a<\/td><td>\u63d2\u5165\u548c\u5220\u9664\u64cd\u4f5c\u6162<\/td><td>\u9700\u8981\u5feb\u901f\u968f\u673a\u8bbf\u95ee\u7684\u573a\u666f<\/td><\/tr><tr><td><strong>LinkedList<\/strong><\/td><td>\u63d2\u5165\u548c\u5220\u9664\u64cd\u4f5c\u5feb<\/td><td>\u968f\u673a\u8bbf\u95ee\u901f\u5ea6\u6162<\/td><td>\u9700\u8981\u9891\u7e41\u63d2\u5165\u548c\u5220\u9664\u7684\u573a\u666f<\/td><\/tr><tr><td><strong>HashSet<\/strong><\/td><td>\u67e5\u627e\u6548\u7387\u9ad8\uff0c\u5143\u7d20\u65e0\u5e8f<\/td><td>\u4e0d\u652f\u6301\u5143\u7d20\u7684\u6392\u5e8f<\/td><td>\u4e0d\u9700\u8981\u91cd\u590d\u5143\u7d20\u7684\u573a\u666f<\/td><\/tr><tr><td><strong>TreeSet<\/strong><\/td><td>\u5143\u7d20\u6709\u5e8f\uff0c\u652f\u6301\u81ea\u7136\u6392\u5e8f\u6216\u5b9a\u5236\u6392\u5e8f<\/td><td>\u63d2\u5165\u548c\u67e5\u627e\u8f83\u6162<\/td><td>\u9700\u8981\u6392\u5e8f\u5e76\u4e14\u4e0d\u5141\u8bb8\u91cd\u590d\u7684\u573a\u666f<\/td><\/tr><tr><td><strong>HashMap<\/strong><\/td><td>\u67e5\u627e\u3001\u63d2\u5165\u3001\u5220\u9664\u64cd\u4f5c\u9ad8\u6548<\/td><td>\u5143\u7d20\u65e0\u5e8f\uff0c\u7ebf\u7a0b\u4e0d\u5b89\u5168<\/td><td>\u9700\u8981\u952e\u503c\u5bf9\u6620\u5c04\u4e14\u4e0d\u5173\u5fc3\u987a\u5e8f\u7684\u573a\u666f<\/td><\/tr><tr><td><strong>TreeMap<\/strong><\/td><td>\u952e\u6709\u5e8f\uff0c\u652f\u6301\u81ea\u5b9a\u4e49\u6392\u5e8f<\/td><td>\u63d2\u5165\u548c\u67e5\u627e\u8f83\u6162<\/td><td>\u9700\u8981\u6709\u5e8f\u952e\u503c\u5bf9\u6620\u5c04\u7684\u573a\u666f<\/td><\/tr><tr><td><strong>PriorityQueue<\/strong><\/td><td>\u652f\u6301\u4f18\u5148\u7ea7\u961f\u5217<\/td><td>\u4e0d\u652f\u6301\u6309\u7d22\u5f15\u8bbf\u95ee<\/td><td>\u9700\u8981\u6309\u4f18\u5148\u7ea7\u5904\u7406\u5143\u7d20\u7684\u573a\u666f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u56db\u3001Java \u96c6\u5408\u6846\u67b6\u5e38\u7528\u7684\u8bbe\u8ba1\u6a21\u5f0f<\/h3>\n\n\n\n<p>Java \u96c6\u5408\u6846\u67b6\u4e2d\u6d89\u53ca\u5230\u4e00\u4e9b\u8bbe\u8ba1\u6a21\u5f0f\uff0c\u6bd4\u5982\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5355\u4f8b\u6a21\u5f0f<\/strong>\uff1a\u4f8b\u5982 <code>Collections<\/code> \u7c7b\u4e2d\u7684\u65b9\u6cd5\u90fd\u4f7f\u7528\u5355\u4f8b\u6a21\u5f0f\u3002<\/li>\n\n\n\n<li><strong>\u5de5\u5382\u65b9\u6cd5\u6a21\u5f0f<\/strong>\uff1a\u96c6\u5408\u6846\u67b6\u4e2d\u7684\u8bb8\u591a\u7c7b\uff08\u5982 <code>ArrayList<\/code>\u3001<code>HashMap<\/code> \u7b49\uff09\u901a\u8fc7\u5de5\u5382\u65b9\u6cd5\u6765\u5b9e\u4f8b\u5316\u5bf9\u8c61\u3002<\/li>\n\n\n\n<li><strong>\u9002\u914d\u5668\u6a21\u5f0f<\/strong>\uff1a\u67d0\u4e9b\u96c6\u5408\u7c7b\uff0c\u5982 <code>ListIterator<\/code> \u548c <code>Iterator<\/code>\uff0c\u63d0\u4f9b\u4e86\u9002\u914d\u5668\u63a5\u53e3\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u4e94\u3001\u5e76\u53d1\u96c6\u5408<\/h3>\n\n\n\n<p>\u9664\u4e86\u5e38\u89c1\u7684\u96c6\u5408\u7c7b\uff0cJava \u8fd8\u63d0\u4f9b\u4e86\u5e76\u53d1\u96c6\u5408\u7c7b\uff0c\u5b83\u4eec\u8bbe\u8ba1\u65f6\u8003\u8651\u5230\u7ebf\u7a0b\u5b89\u5168\uff0c\u5e38\u89c1\u7684\u5e76\u53d1\u96c6\u5408\u7c7b\u6709\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>ConcurrentHashMap<\/code>\uff1a\u7ebf\u7a0b\u5b89\u5168\u7684 <code>HashMap<\/code> \u5b9e\u73b0\u3002<\/li>\n\n\n\n<li><code>CopyOnWriteArrayList<\/code>\uff1a\u7ebf\u7a0b\u5b89\u5168\u7684 <code>ArrayList<\/code> \u5b9e\u73b0\uff0c\u9002\u7528\u4e8e\u8bfb\u53d6\u9891\u7e41\u3001\u5199\u5165\u8f83\u5c11\u7684\u573a\u666f\u3002<\/li>\n\n\n\n<li><code>BlockingQueue<\/code>\uff1a\u7ebf\u7a0b\u5b89\u5168\u7684\u961f\u5217\u63a5\u53e3\uff0c\u7528\u4e8e\u751f\u4ea7\u8005-\u6d88\u8d39\u8005\u6a21\u578b\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u8fd9\u4e9b\u96c6\u5408\u7c7b\u901a\u5e38\u7528\u4e8e\u591a\u7ebf\u7a0b\u73af\u5883\u4e2d\uff0c\u786e\u4fdd\u64cd\u4f5c\u7684\u7ebf\u7a0b\u5b89\u5168\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">\u5c0f\u7ed3<\/h3>\n\n\n\n<p>Java \u96c6\u5408\u6846\u67b6\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u80fd\u591f\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u9ad8\u6548\u5730\u5904\u7406\u548c\u64cd\u4f5c\u6570\u636e\u3002\u5b83\u63d0\u4f9b\u4e86\u591a\u79cd\u6570\u636e\u7ed3\u6784\u7684\u5b9e\u73b0\uff0c\u6bcf\u79cd\u6570\u636e\u7ed3\u6784\u90fd\u6709\u4e0d\u540c\u7684\u7279\u70b9\u548c\u9002\u7528\u573a\u666f\u3002\u4e86\u89e3 Java \u96c6\u5408\u6846\u67b6\u7684\u5e38\u89c1\u63a5\u53e3\u548c\u5b9e\u73b0\u7c7b\uff0c\u53ef\u4ee5\u8ba9\u4f60\u66f4\u7075\u6d3b\u5730\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u7ed3\u6784\uff0c\u4ece\u800c\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6027\u80fd\u3002<\/p>\n\n\n\n<p>\u66f4\u591a\u8be6\u7ec6\u5185\u5bb9\u8bf7\u5173\u6ce8\u5176\u4ed6\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java \u96c6\u5408\u6846\u67b6\uff08Java Collections Framework\uff09\u662f Java \u63d0\u4f9b\u7684\u4e00\u4e2a\u7528\u4e8e\u5b58\u50a8\u548c\u64cd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[],"class_list":["post-2250","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=2250"}],"version-history":[{"count":1,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2250\/revisions"}],"predecessor-version":[{"id":2251,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/2250\/revisions\/2251"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=2250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=2250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=2250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}