diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/11.\346\214\201\346\234\211\345\274\225\347\224\250/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/11.\346\214\201\346\234\211\345\274\225\347\224\250/config.json" deleted file mode 100644 index f81628badffc3a39f5032b9a446f5edb039f028a..0000000000000000000000000000000000000000 --- "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/11.\346\214\201\346\234\211\345\274\225\347\224\250/config.json" +++ /dev/null @@ -1,16 +0,0 @@ -{ - "node_id": "java-16f140529ddd4709a2bc538fd83d4324", - "keywords": [], - "children": [ - { - "WeakHashMap": { - "keywords": [], - "children": [], - "node_id": "java-77540b2eae5f4d25834edcb16f1f22fc", - "title": "WeakHashMap" - } - } - ], - "export": [], - "title": "持有引用" -} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/2.\345\241\253\345\205\205\345\256\271\345\231\250/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/2.\345\241\253\345\205\205\345\256\271\345\231\250/config.json" deleted file mode 100644 index 9e4708cff28b24d880a852f61f2909db9f83ad8e..0000000000000000000000000000000000000000 --- "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/2.\345\241\253\345\205\205\345\256\271\345\231\250/config.json" +++ /dev/null @@ -1,32 +0,0 @@ -{ - "node_id": "java-4d469275970748d68a5e3e51ba8728f4", - "keywords": [], - "children": [ - { - "一种Generator解决方案": { - "keywords": [], - "children": [], - "node_id": "java-873bf34ed07045bba19f3535e4d866f6", - "title": "一种Generator解决方案" - } - }, - { - "Map生成器": { - "keywords": [], - "children": [], - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "title": "Map生成器" - } - }, - { - "使用Abstract类": { - "keywords": [], - "children": [], - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "title": "使用Abstract类" - } - } - ], - "export": [], - "title": "填充容器" -} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/4.\345\217\257\351\200\211\346\223\215\344\275\234/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/4.\345\217\257\351\200\211\346\223\215\344\275\234/config.json" deleted file mode 100644 index 557250ddcc2d3dad500a66458c2a99f694928f6c..0000000000000000000000000000000000000000 --- "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/4.\345\217\257\351\200\211\346\223\215\344\275\234/config.json" +++ /dev/null @@ -1,16 +0,0 @@ -{ - "node_id": "java-62b6b4f057f549d5b3a4498ef6c7a7e8", - "keywords": [], - "children": [ - { - "未获支持的操作": { - "keywords": [], - "children": [], - "node_id": "java-2031010f8362415e9db1c070711e5fd1", - "title": "未获支持的操作" - } - } - ], - "export": [], - "title": "可选操作" -} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/8.\346\225\243\345\210\227\344\270\216\346\225\243\345\210\227\347\240\201/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/8.\346\225\243\345\210\227\344\270\216\346\225\243\345\210\227\347\240\201/config.json" deleted file mode 100644 index 09e1e5ad2c9d41fd0d0ca6a7dcc7e8aff57d51bb..0000000000000000000000000000000000000000 --- "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/8.\346\225\243\345\210\227\344\270\216\346\225\243\345\210\227\347\240\201/config.json" +++ /dev/null @@ -1,32 +0,0 @@ -{ - "node_id": "java-10969a6ccab543558603a3c5d149cb1c", - "keywords": [], - "children": [ - { - "理解hashCode()": { - "keywords": [], - "children": [], - "node_id": "java-11f8416ef79f4128998d905e5c178b13", - "title": "理解hashCode()" - } - }, - { - "为速度而散列": { - "keywords": [], - "children": [], - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "title": "为速度而散列" - } - }, - { - "覆盖hashCode()": { - "keywords": [], - "children": [], - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "title": "覆盖hashCode()" - } - } - ], - "export": [], - "title": "散列与散列码" -} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/1.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/Collection.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/1.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/Collection.json" new file mode 100644 index 0000000000000000000000000000000000000000..32869a047dfe0360db9f4e03cead4bc9e88598df --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/1.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/Collection.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": "clong", + "source": "Collection.md", + "exercise_id": "", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/1.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/Collection.md" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/1.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/Collection.md" new file mode 100644 index 0000000000000000000000000000000000000000..ed031413689068385cfb2285655f597e164c5b76 --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/1.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/Collection.md" @@ -0,0 +1,36 @@ +# Collection + + +下列关于Collection功能方法的说法错误的是: + + + +## 答案 + +``` +Arrays.asList() +可以将数组转换为list,之后可以像操作普通List一样对其进行增删改查。 +``` + +## 选项 + +### A + +``` +Object[] toArray() +返回一个数组,该数组包含容器中的所有元素 +``` + +### B + +``` +boolean isEmpty() +判断容器是否为空,容器中没有元素时返回true,与size()==0时效果相同 +``` + +### C + +``` +boolean removeAll(Collection) +移除参数中的所有元素,只要有一个移除成功就返回true +``` diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/3.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/1.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" similarity index 80% rename from "data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/3.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" rename to "data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/1.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" index 60f3750a9cc4a88d503d3943c1ba337063870ccb..9545f602438e783ff6d40a0b8f598f52e14b36bb 100644 --- "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/3.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/1.Collection\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" @@ -2,6 +2,6 @@ "node_id": "java-e4ee5c02d364431f901c2851e2bebdc0", "keywords": [], "children": [], - "export": [], + "export": ["Collection.md"], "title": "Collection的功能方法" } \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/2.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/List.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/2.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/List.json" new file mode 100644 index 0000000000000000000000000000000000000000..69e147b5f3b34776f8e0f959895d43ddfcd1c163 --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/2.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/List.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": "clong", + "source": "List.md", + "exercise_id": "", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/2.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/List.md" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/2.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/List.md" new file mode 100644 index 0000000000000000000000000000000000000000..d67a2083df89c939b88d3256205f39f6ef862e4a --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/2.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/List.md" @@ -0,0 +1,35 @@ +# List + + +下列关于 `List` 功能方法的说法正确的是: + + + +## 答案 + +``` +以上说法均正确 +``` + +## 选项 + +### A + +``` +add(int, E) +将指定的元素添加到此列表的索引位置,索引后面的元素位置向后偏移 +``` + +### B + +``` +subList(int fromIndex, int toIndex) +该方法返回的是父list一个视图,操作视图会同步到父list +``` + +### C + +``` +ListIterator迭代器接口的add(E) +将指定的元素插入列表,插入位置为迭代器当前位置之前 +``` diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/5.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/2.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" similarity index 81% rename from "data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/5.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" rename to "data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/2.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" index ffc73186f4d745459e9fe0e171dc9f9a2b099317..9ffd1b2d23cb88b53abfee82b6fa301c931d9391 100644 --- "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/5.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/2.List\347\232\204\345\212\237\350\203\275\346\226\271\346\263\225/config.json" @@ -2,6 +2,6 @@ "node_id": "java-6a6a4fabc4e34b5d985e4787fda4793f", "keywords": [], "children": [], - "export": [], + "export": ["List.json"], "title": "List的功能方法" } \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/3.Set\345\222\214\345\255\230\345\202\250\351\241\272\345\272\217/Set.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/3.Set\345\222\214\345\255\230\345\202\250\351\241\272\345\272\217/Set.json" new file mode 100644 index 0000000000000000000000000000000000000000..51c0ed3404d4be7a4124adff08c3662679538dfa --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/3.Set\345\222\214\345\255\230\345\202\250\351\241\272\345\272\217/Set.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": "clong", + "source": "Set.md", + "exercise_id": "", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/3.Set\345\222\214\345\255\230\345\202\250\351\241\272\345\272\217/Set.md" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/3.Set\345\222\214\345\255\230\345\202\250\351\241\272\345\272\217/Set.md" new file mode 100644 index 0000000000000000000000000000000000000000..c4c16995597d69b57c2394aa3abb50bc30baefae --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/3.Set\345\222\214\345\255\230\345\202\250\351\241\272\345\272\217/Set.md" @@ -0,0 +1,32 @@ +# Set + + +下列关于 `Set` 说法正确的是: + + + +## 答案 + +``` +LinkedHashSet能保证元素的次序 +``` + +## 选项 + +### A + +``` +HashSet查找速度快,且能保证有序 +``` + +### B + +``` +TreeSet底层为树结构,能保证元素的次序 +``` + +### C + +``` +SortedSet实现了Set接口 +``` diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/1.\345\256\214\346\225\264\347\232\204\345\256\271\345\231\250\345\210\206\347\261\273\346\263\225/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/3.Set\345\222\214\345\255\230\345\202\250\351\241\272\345\272\217/config.json" similarity index 60% rename from "data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/1.\345\256\214\346\225\264\347\232\204\345\256\271\345\231\250\345\210\206\347\261\273\346\263\225/config.json" rename to "data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/3.Set\345\222\214\345\255\230\345\202\250\351\241\272\345\272\217/config.json" index 49d9e9d89e0387a1e234e0876635a2056bd696c8..712d283dbfa666814b56913f614fd6c9174d24dc 100644 --- "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/1.\345\256\214\346\225\264\347\232\204\345\256\271\345\231\250\345\210\206\347\261\273\346\263\225/config.json" +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/3.Set\345\222\214\345\255\230\345\202\250\351\241\272\345\272\217/config.json" @@ -2,6 +2,6 @@ "node_id": "java-d29c64a86fbb49b88cc2eaa7b39375b4", "keywords": [], "children": [], - "export": [], - "title": "完整的容器分类法" + "export": ["Set.json"], + "title": "Set和存储顺序" } \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/4.\351\230\237\345\210\227/Queue.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/4.\351\230\237\345\210\227/Queue.json" new file mode 100644 index 0000000000000000000000000000000000000000..b97ce97ca235c19f018d8d8e337466d3b9448987 --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/4.\351\230\237\345\210\227/Queue.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": "clong", + "source": "Queue.md", + "exercise_id": "", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/4.\351\230\237\345\210\227/Queue.md" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/4.\351\230\237\345\210\227/Queue.md" new file mode 100644 index 0000000000000000000000000000000000000000..aa94f8ea5011132cf97b62b4b4a462f44b91c722 --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/4.\351\230\237\345\210\227/Queue.md" @@ -0,0 +1,68 @@ +# Queue + + +下列代码用优先级队列实现了任务队列,运行程序控制台输出正确的是: +```java +class Task { + private String name; + private int priority; + + public Task(String name, int priority) { + this.name = name; + this.priority = priority; + } + // 此处省略getter和setter方法 +} + +public class CollectionsTest { + public static void main(String[] args) { + Comparator cmp = new Comparator() { + public int compare(Task o1, Task o2) { + int diff = o1.getPriority() - o2.getPriority(); + if (diff > 0) { + return -1; + } else if (diff == 0) { + return 0; + } + return 1; + } + }; + Queue queue = new PriorityQueue<>(cmp); + queue.add(new Task("a", 8)); + queue.add(new Task("b", 2)); + queue.add(new Task("c", 6)); + queue.add(new Task("d", 1)); + while (!queue.isEmpty()) { + Task task = queue.poll(); + System.out.print(task.getName()); + } + } +} +``` + + +## 答案 + +``` +acbd +``` + +## 选项 + +### A + +``` +dbca +``` + +### B + +``` +bdca +``` + +### C + +``` +acdb +``` diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/6.\351\230\237\345\210\227/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/4.\351\230\237\345\210\227/config.json" similarity index 87% rename from "data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/6.\351\230\237\345\210\227/config.json" rename to "data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/4.\351\230\237\345\210\227/config.json" index 163cfe57c7179dcdb8c5f3ef4208dade7c3e8310..1480391d07c8ab0c24149fae90cf3c4c66f87bf6 100644 --- "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/6.\351\230\237\345\210\227/config.json" +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/4.\351\230\237\345\210\227/config.json" @@ -1,6 +1,6 @@ { "node_id": "java-3b1d3953fd724d1f87c1e95918bc2d0c", - "keywords": [], + "keywords": ["队列", "queue"], "children": [ { "优先级队列": { @@ -19,6 +19,6 @@ } } ], - "export": [], + "export": ["Queue.json"], "title": "队列" } \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/5.\347\220\206\350\247\243Map/Map.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/5.\347\220\206\350\247\243Map/Map.json" new file mode 100644 index 0000000000000000000000000000000000000000..2c1c0bf3fbfc31bf3a0ac0dafd62b7f157dd1135 --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/5.\347\220\206\350\247\243Map/Map.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": "clong", + "source": "Map.md", + "exercise_id": "", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/5.\347\220\206\350\247\243Map/Map.md" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/5.\347\220\206\350\247\243Map/Map.md" new file mode 100644 index 0000000000000000000000000000000000000000..36cf006d662da43a0b341a8c7bc798b2e2135596 --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/5.\347\220\206\350\247\243Map/Map.md" @@ -0,0 +1,32 @@ +# Map + + +下列关于 `Map` 说法, 能提高性能的是: + + + +## 答案 + +``` +增大map大小 +``` + +## 选项 + +### A + +``` +提高链地址法的链表的长度 +``` + +### B + +``` +遇冲突再hash +``` + +### C + +``` +减小负载因子的大小 +``` diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/7.\347\220\206\350\247\243Map/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/5.\347\220\206\350\247\243Map/config.json" similarity index 95% rename from "data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/7.\347\220\206\350\247\243Map/config.json" rename to "data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/5.\347\220\206\350\247\243Map/config.json" index a0f30cfb12647aaf6bc5f58a94515123a376823a..664ccf244c465fdbe0aae47c1f2ece3ccbee3556 100644 --- "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/7.\347\220\206\350\247\243Map/config.json" +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/5.\347\220\206\350\247\243Map/config.json" @@ -27,6 +27,6 @@ } } ], - "export": [], + "export": ["Map.json"], "title": "理解Map" } \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/6.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/Select.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/6.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/Select.json" new file mode 100644 index 0000000000000000000000000000000000000000..463109b7d716646d35496dd5557bceb263960ada --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/6.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/Select.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": "clong", + "source": "Select.md", + "exercise_id": "", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/6.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/Select.md" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/6.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/Select.md" new file mode 100644 index 0000000000000000000000000000000000000000..ca2ed73f1b7624e57790bf707c5055e4302a8b5b --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/6.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/Select.md" @@ -0,0 +1,32 @@ +# 选择接口的不同实现 + + +下列关于集合接口的不同实现的选择错误的是: + + + +## 答案 + +``` +HashMap是线程安全的 +``` + +## 选项 + +### A + +``` +ArrayList底层由数组支持,能按照索引查找,查找速度更快 +``` + +### B + +``` +当需要保持唯一,切能按照大小排序,可以选择TreeSet +``` + +### C + +``` +当需要对map的key或者value实现自定义排序时,可以选择LinkedHashMap +``` diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/9.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/6.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/config.json" similarity index 97% rename from "data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/9.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/config.json" rename to "data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/6.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/config.json" index 1dedc3bd7552ae97b9cef6275dc45bd3ea348887..8859e9fe151664fee50c9454e2dde8489c3da1ef 100644 --- "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/9.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/config.json" +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/6.\351\200\211\346\213\251\346\216\245\345\217\243\347\232\204\344\270\215\345\220\214\345\256\236\347\216\260/config.json" @@ -41,6 +41,6 @@ } } ], - "export": [], + "export": ["Select.json"], "title": "选择接口的不同实现" } \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/7.Collections\345\256\236\347\224\250\346\226\271\346\263\225/StaticMethod.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/7.Collections\345\256\236\347\224\250\346\226\271\346\263\225/StaticMethod.json" new file mode 100644 index 0000000000000000000000000000000000000000..f7f0159f2063a2dbf4416878c2d39580467135f7 --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/7.Collections\345\256\236\347\224\250\346\226\271\346\263\225/StaticMethod.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": "clong", + "source": "StaticMethod.md", + "exercise_id": "", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/7.Collections\345\256\236\347\224\250\346\226\271\346\263\225/StaticMethod.md" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/7.Collections\345\256\236\347\224\250\346\226\271\346\263\225/StaticMethod.md" new file mode 100644 index 0000000000000000000000000000000000000000..d7a50aaf827c037610741f6651c0db8701bf1cf3 --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/7.Collections\345\256\236\347\224\250\346\226\271\346\263\225/StaticMethod.md" @@ -0,0 +1,35 @@ +# Collections实用方法 + + +下列关于Collections的实用方法,说法正确的是: + + + +## 答案 + +``` +以上说法均正确 +``` + +## 选项 + +### A + +``` +Collections.sort(list) +可以实现对list的排序 +``` + +### B + +``` +Collections.unmodifiableCollection() +可以设定Collections不可修改 +``` + +### C + +``` +Collections.synchronizedCollection() +可以实现对Collections的同步控制 +``` diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/10.\345\256\236\347\224\250\346\226\271\346\263\225/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/7.Collections\345\256\236\347\224\250\346\226\271\346\263\225/config.json" similarity index 91% rename from "data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/10.\345\256\236\347\224\250\346\226\271\346\263\225/config.json" rename to "data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/7.Collections\345\256\236\347\224\250\346\226\271\346\263\225/config.json" index 4dee1761bb6fbc6c100a745cb0db09a7bc6ff7c6..fd21ccd312a3104471749609ee6b8f14192760b4 100644 --- "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/10.\345\256\236\347\224\250\346\226\271\346\263\225/config.json" +++ "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/7.Collections\345\256\236\347\224\250\346\226\271\346\263\225/config.json" @@ -27,6 +27,6 @@ } } ], - "export": [], - "title": "实用方法" + "export": ["StaticMethod.json"], + "title": "Collections实用方法" } \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/config.json" "b/data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/config.json" similarity index 100% rename from "data/2.Java\344\270\255\351\230\266/8.\345\256\271\345\231\250\346\267\261\345\205\245\347\240\224\347\251\266/config.json" rename to "data/2.Java\344\270\255\351\230\266/8.\346\267\261\345\205\245\347\240\224\347\251\266\345\256\271\345\231\250/config.json" diff --git "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/1.CountDownLatch/config.json" "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/1.CountDownLatch/config.json" deleted file mode 100644 index 1518f9272b07cca06b9afb2f4544a574370efb31..0000000000000000000000000000000000000000 --- "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/1.CountDownLatch/config.json" +++ /dev/null @@ -1,7 +0,0 @@ -{ - "node_id": "java-a5ad5ac879014d99b56546a687064de9", - "keywords": [], - "children": [], - "export": [], - "title": "CountDownLatch" -} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/2.CyclicBarrier/config.json" "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/2.CyclicBarrier/config.json" deleted file mode 100644 index f85d831078d69f101f5b55ca495c2052811b8c4d..0000000000000000000000000000000000000000 --- "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/2.CyclicBarrier/config.json" +++ /dev/null @@ -1,7 +0,0 @@ -{ - "node_id": "java-626f8873229c4ebcbf9535893b3a2636", - "keywords": [], - "children": [], - "export": [], - "title": "CyclicBarrier" -} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/3.DelayQueue/config.json" "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/3.DelayQueue/config.json" deleted file mode 100644 index 58d861c93bc55dc97d0828794eecd81e1b2dfa5d..0000000000000000000000000000000000000000 --- "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/3.DelayQueue/config.json" +++ /dev/null @@ -1,7 +0,0 @@ -{ - "node_id": "java-d78ab239f1af4ea9a947bb073e25466f", - "keywords": [], - "children": [], - "export": [], - "title": "DelayQueue" -} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/4.PriorityBlockingQueue/config.json" "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/4.PriorityBlockingQueue/config.json" deleted file mode 100644 index bb8d4b20d941b3f99dce53762bafdd19e5e9bd4b..0000000000000000000000000000000000000000 --- "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/4.PriorityBlockingQueue/config.json" +++ /dev/null @@ -1,7 +0,0 @@ -{ - "node_id": "java-ba4040d7af8d408aa6f26827ce977b93", - "keywords": [], - "children": [], - "export": [], - "title": "PriorityBlockingQueue" -} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/5.ScheduledExecutor/config.json" "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/5.ScheduledExecutor/config.json" deleted file mode 100644 index 3e00bfd07cc1a216f00ac813f0419e4de84c7d41..0000000000000000000000000000000000000000 --- "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/5.ScheduledExecutor/config.json" +++ /dev/null @@ -1,7 +0,0 @@ -{ - "node_id": "java-7a2655c558a94868acfd5c47605c19df", - "keywords": [], - "children": [], - "export": [], - "title": "ScheduledExecutor" -} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/6.Semaphore/config.json" "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/6.Semaphore/config.json" deleted file mode 100644 index 036aae3403453e9f44c4de7ee791307289a7f4fb..0000000000000000000000000000000000000000 --- "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/6.Semaphore/config.json" +++ /dev/null @@ -1,7 +0,0 @@ -{ - "node_id": "java-c696f5c80c8f49eab7d45be97d02a9b4", - "keywords": [], - "children": [], - "export": [], - "title": "Semaphore" -} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/7.Exchange/config.json" "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/7.Exchange/config.json" deleted file mode 100644 index 6ed567b87b8e822f109baf148a7be288da2de0e2..0000000000000000000000000000000000000000 --- "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/7.Exchange/config.json" +++ /dev/null @@ -1,7 +0,0 @@ -{ - "node_id": "java-0b97e56a58b94d2da9dd53bb9b1baac6", - "keywords": [], - "children": [], - "export": [], - "title": "Exchange" -} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/ScheduledExecutor.json" "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/ScheduledExecutor.json" new file mode 100644 index 0000000000000000000000000000000000000000..bdd68a52daca397014010c9038ce30562fc20c21 --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/ScheduledExecutor.json" @@ -0,0 +1,7 @@ +{ + "type": "code_options", + "author": "clong", + "source": "ScheduledExecutor.md", + "exercise_id": "", + "notebook_enable": true +} \ No newline at end of file diff --git "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/ScheduledExecutor.md" "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/ScheduledExecutor.md" new file mode 100644 index 0000000000000000000000000000000000000000..a638a6cd96bea24c308a8073b60fe5880cf64186 --- /dev/null +++ "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/ScheduledExecutor.md" @@ -0,0 +1,76 @@ +# ScheduledExecutor + + +项目中经常与遇到定时执行任务的情况,可以使用 `ScheduledExecutor` 来实现,以下代码运行后制台输出正确的是: + +```java +import java.util.concurrent.ScheduledThreadPoolExecutor; +import java.util.concurrent.TimeUnit; + +class Task implements Runnable { + + private String name; + + public Task(String name) { + this.name = name; + } + + @Override + public void run() { + System.out.println(name); + } +} + +public class ScheduledExecutorTest { + public static void main(String[] args) { + ScheduledThreadPoolExecutor schedule = new ScheduledThreadPoolExecutor(10); + for (int i = 5; i > 0; i--) { + Task worker = new Task("task-" + i); + schedule.schedule(worker, i*2, TimeUnit.SECONDS); + } + } +} +``` + + +## 答案 + +``` +task-1 +task-2 +task-3 +task-4 +task-5 +``` + +## 选项 + +### A + +``` +task-5 +task-4 +task-3 +task-2 +task-1 +``` + +### B + +``` +task-5 +task-4 +task-1 +task-2 +task-3 +``` + +### C + +``` +task-1 +task-2 +task-3 +task-5 +task-4 +``` diff --git "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/config.json" "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/config.json" index f736700a4b99aff32008a62378d44062302bf7e1..73cb764fd74a795fe76235a24a600ffa25b6ecb6 100644 --- "a/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/config.json" +++ "b/data/2.Java\344\270\255\351\230\266/9.\346\226\260\347\261\273\345\272\223\344\270\255\347\232\204\346\236\204\344\273\266/config.json" @@ -1,46 +1,64 @@ { "node_id": "java-5a49d27c4caa4300936968edb642186c", - "keywords": [], + "keywords": ["CountDownLatch", "CyclicBarrier", "DelayQueue", "PriorityBlockingQueue", "ScheduledExecutor", "Semaphore", "Exchanger"], "children": [ { - "性能测试框架": { + "CountDownLatch": { "keywords": [], "children": [], "node_id": "java-9a7cb3066def45889807e133e5eb7736", - "title": "性能测试框架" + "title": "CountDownLatch" } }, { - "对List的选择": { + "CyclicBarrier": { "keywords": [], "children": [], - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "title": "对List的选择" + "node_id": "java-626f8873229c4ebcbf9535893b3a2636", + "title": "CyclicBarrier" } }, { - "微基准测试的危险": { + "DelayQueue": { "keywords": [], "children": [], - "node_id": "569d5e11c4fc5de7844053d9a733c5e8", - "title": "微基准测试的危险" + "node_id": "java-d78ab239f1af4ea9a947bb073e25466f", + "title": "DelayQueue" } }, { - "对Set的选择": { + "PriorityBlockingQueue": { "keywords": [], "children": [], - "node_id": "569d5e11c4fc5de7844053d9a733c5e8" + "node_id": "java-ba4040d7af8d408aa6f26827ce977b93", + "title": "PriorityBlockingQueue" } }, { - "对Map的选择": { + "ScheduledExecutor": { "keywords": [], "children": [], - "node_id": "569d5e11c4fc5de7844053d9a733c5e8" + "node_id": "java-7a2655c558a94868acfd5c47605c19df", + "title": "ScheduledExecutor" + } + }, + { + "Semaphore": { + "keywords": [], + "children": [], + "node_id": "java-c696f5c80c8f49eab7d45be97d02a9b4", + "title": "Semaphore" + } + }, + { + "Exchanger": { + "keywords": [], + "children": [], + "node_id": "java-0b97e56a58b94d2da9dd53bb9b1baac6", + "title": "Exchanger" } } ], - "export": [], + "export": ["ScheduledExecutorTest.json"], "title": "新类库中的构件" } \ No newline at end of file