提交 4f75dd86 编写于 作者: M Mars Liu

for editor

上级 9a0523bd
......@@ -27,7 +27,6 @@ public class App {
### A
```java
public class App {
public int main(){
System.out.printf("Hello World");
......@@ -39,7 +38,6 @@ public class App {
### B
```java
public class App {
public static void main(String[] args){
println("Hello World");
......
......@@ -4,8 +4,7 @@
## 答案
```java
```shell
javac HelloWorld.java
```
......@@ -13,21 +12,18 @@ javac HelloWorld.java
### A
```java
```shell
java -c HelloWorld.java
```
### B
```java
```shell
java -c HelloWorld
```
### C
```java
```shell
javac -c HelloWorld.java
```
......@@ -4,30 +4,18 @@
## 答案
```java
ClassLoader是JVM实现的一部分
```
## 选项
### A
```java
ClassLoader是JVM实现的一部分
```
### B
```java
JDK只包含JRE
```
### C
```java
JVM不属于JRE
```
......@@ -5,7 +5,6 @@
## 答案
```bat
%JAVA_HOME%\bin
```
......@@ -14,20 +13,17 @@
### A
```bat
%JAVA_HOME%\tools.jar
```
### B
```bat
%JAVA_HOME%\dt.jar
```
### C
```bat
%JAVA_HOME%\bin
```
{
"node_id": "java-efb87004230b4680a32c6584112c6f20",
"keywords": [
"输出",
"循环",
"for"
"语法", "Hello World"
],
"children": [],
"export": [
......
{
"node_id": "java-c668b26b90ab4982bd906933809d6049",
"keywords": [],
"keywords": ["注释 "],
"children": [],
"export": [
"comment.json"
......
{
"node_id": "java-0021d9d14dfc429cab17b4dd912651b6",
"keywords": [],
"keywords": ["关键字"],
"children": [],
"export": [],
"export": ["keyword.json"],
"title": "Java中的关键字"
}
\ No newline at end of file
{
"type": "code_options",
"author": "刘鑫",
"source": "keyword.md",
"exercise_id": "57b6f2510fde488486f73ab8597370c6"
}
\ No newline at end of file
{
"node_id": "java-1d41e245176e437e8103e481bc91aa3b",
"keywords": [],
"children": [],
"export": [],
"title": "Java中的标识符"
}
\ No newline at end of file
# Java中的标识符
下面代码中哪个不符合Java标识符的规范:
```java
public class App {
public static void main(String[] args) {
int 22name = 1024;
String _id = "1";
boolean $age = true;
}
}
```
## 答案
```java
22name
```
## 选项
### A
args
### B
22name
### C
_id
### D
$age
{
"node_id": "java-ac26535850ef4aaf8bb9fec08bc47825",
"keywords": [],
"keywords": ["变量", "类型"],
"children": [],
"export": ["datatype.json"],
"title": "变量的数据类型"
......
......@@ -4,7 +4,16 @@
## 答案
B
```java
boolean flag1 = false;
boolean flag2 = false;
if (flag1 && flag2) {
System.out.println("1024");
} else {
System.out.println("CSDN");
}
```
## 选项
......@@ -25,19 +34,6 @@ if (!flag1 || flag2) {
```java
boolean flag1 = false;
boolean flag2 = false;
if (flag1 && flag2) {
System.out.println("1024");
} else {
System.out.println("CSDN");
}
```
### C
```java
boolean flag1 = true;
boolean flag2 = false;
if (flag1 && flag2) {
......@@ -47,6 +43,6 @@ if (flag1 && flag2) {
}
```
### D
### C
以上都不是
......@@ -9,22 +9,18 @@ int b = a++;
## 答案
A
1
## 选项
### A
1
### B
2
### C
### B
3
### D
### C
以上都不是
{
"node_id": "java-d4a802d353d648a0a4c90daf60774cf3",
"keywords": [],
"keywords": ["条件", "控制", "分支", "if"],
"children": [],
"export": ["if.json"],
"title": "if条件语句"
......
......@@ -3,5 +3,5 @@
"author": "熊克斐",
"source": "if.md",
"notebook_enable": false,
"exercise_id": "b44161e5a27342cdbe130ca04f805a93"
"exercise_id": "5a0a4481fe024557830736a27f10e64d"
}
\ No newline at end of file
......@@ -4,7 +4,14 @@
## 答案
B
```java
int count = 0;
if (1 == count) {
System.out.println("Hello World");
} else
System.out.println("CSDN");
```
## 选项
......@@ -22,17 +29,6 @@ if (1 = count) {
```java
int count = 0;
if (1 == count) {
System.out.println("Hello World");
} else
System.out.println("CSDN");
```
### C
```java
String name = "CSDN";
if ("CSDN" != name) {
System.out.println("CSDN");
......@@ -40,6 +36,6 @@ if ("CSDN" != name) {
System.out.println("Hello World");
```
### D
### C
以上都不是
{
"node_id": "java-180cf0806d374fa4b10fdaebcc946d89",
"keywords": [],
"keywords": ["条件", "控制", "分支", "switch"],
"children": [],
"export": [],
"title": "switch条件语句"
"export": ["switch.json"]
}
\ No newline at end of file
{
"type": "code_options",
"author": "熊克斐",
"source": "switch.md",
"notebook_enable": false,
"exercise_id": "6c933ddd7fe0437e886c2dfb1332f661"
}
\ No newline at end of file
......@@ -4,12 +4,6 @@
## 答案
A
## 选项
### A
```java
int type = 0;
......@@ -25,6 +19,8 @@ switch (type) {
}
```
## 选项
### B
```java
......
{
"node_id": "java-9814a131da364cd0a3933b640ddb421c",
"keywords": [],
"keywords": ["循环", "do", "while"],
"children": [],
"export": ["dowhile.json"],
"title": "do…while循环语句"
"export": ["dowhile.json"]
}
\ No newline at end of file
{
"node_id": "java-911127b38b884ab4bb5a35365c41833b",
"keywords": [],
"keywords": ["循环", "for"],
"children": [],
"export": [],
"export": ["for.json"],
"title": "for循环语句"
}
\ No newline at end of file
{
"type": "code_options",
"author": "刘鑫",
"source": "for.md",
"notebook_enable": false,
"exercise_id": "7c96722b4a9c47629b4d3e543e70a1c5"
}
\ No newline at end of file
......@@ -4,7 +4,7 @@
## 答案
D
以上都是
## 选项
......@@ -19,7 +19,3 @@ boolean addAll(Collection<? extends E> c)
### C
boolean isEmpty()
### D
以上都是
{
"node_id": "java-73271e880f0843f69437427bfc557ff2",
"keywords": [],
"keywords": ["集合", "collection"],
"children": [],
"export": ["collection.json"],
"title": "Collection接口"
......
{
"node_id": "java-b295e8ba38ed4e3c90ea0f7b0d70039e",
"keywords": [],
"keywords": ["集合", "树"],
"children": [],
"export": ["treeset.json"],
"title": "树集"
......
......@@ -4,7 +4,7 @@
## 答案
B
它不能被克隆,因为它没有实现Cloneable接口
## 选项
......@@ -12,10 +12,6 @@ B
是一个有序的集合,它的作用是提供有序的Set集合
### B
它不能被克隆,因为它没有实现Cloneable接口
### C
继承于AbstractSet抽象类
......
{
"node_id": "java-7625240ab0254b198142c52926465f42",
"keywords": [],
"keywords": ["集合", "映射", "字典"],
"children": [
{
"基本映射操作": {
......
......@@ -4,7 +4,7 @@
## 答案
D
以上都是
## 选项
......@@ -37,6 +37,5 @@ while (it.hasNext()) {
}
```
### D
以上都是
......@@ -4,7 +4,7 @@
## 答案
D
以上都是
## 选项
......@@ -20,6 +20,4 @@ Vector
Stack
### D
以上都是
{
"node_id": "java-bb2a2b6d7b114799b01aa89bafbdab86",
"keywords": [],
"keywords": ["判等", "hash", "equals"],
"children": [],
"export": ["equals.json", "hashCode.json"],
"title": "编写equals和hashCode"
......
......@@ -4,7 +4,12 @@
## 答案
B
```java
int a = 1;
int b = 2;
System.out.println(a.equals(b));
```
## 选项
......@@ -17,15 +22,6 @@ String b = "2";
System.out.println(a.equals(b));
```
### B
```java
int a = 1;
int b = 2;
System.out.println(a.equals(b));
```
### C
```java
......
......@@ -4,7 +4,7 @@
## 答案
B
同时覆盖hashCode()和equals(),数据就是唯一的
## 选项
......@@ -12,9 +12,6 @@ B
覆盖equals()但不覆盖hashCode(),会导致数据的不唯一
### B
同时覆盖hashCode()和equals(),数据就是唯一的
### C
......
{
"node_id": "java-6d9ccc979da54411ac65fccd1a12071e",
"keywords": [],
"keywords": ["集合", "TreeMap", "字典"],
"children": [],
"export": ["treemap.json"],
"title": "使用TreeMap"
......
......@@ -4,14 +4,10 @@
## 答案
A
ATreeMap继承于AbstractMap,实现了Map, Cloneable, NavigableMap, Serializable接口
## 选项
### A
TreeMap继承于AbstractMap,实现了Map, Cloneable, NavigableMap, Serializable接口
### B
TreeMap允许出现重复的key
......
{
"node_id": "java-7b0b78c00f934f7f958dcf7107243ae1",
"keywords": [],
"keywords": ["属性", "字典", "集合"],
"children": [],
"export": [],
"export": ["properties.json"],
"title": "使用Properties"
}
\ No newline at end of file
{
"type": "code_options",
"author": "熊克斐",
"source": "properties.md",
"exercise_id": "",
"notebook_enable": false
"type": "code_options",
"author": "熊克斐",
"source": "properties.md",
"notebook_enable": false,
"exercise_id": "e18aecbc334e44b9aba7a72abc627970"
}
\ No newline at end of file
......@@ -4,12 +4,6 @@
## 答案
A
## 选项
### A
```java
public void test() {
......@@ -18,6 +12,9 @@ public void test() {
}
```
## 选项
### B
```java
......
{
"node_id": "java-ff4a16d20df24eda93d843749e777a76",
"keywords": [],
"keywords": ["集合", "队列"],
"children": [],
"export": ["deque.json"],
"title": "使用Deque"
......
......@@ -4,7 +4,7 @@
## 答案
D
以上都是
## 选项
......@@ -20,6 +20,3 @@ D
可以用作堆栈
### D
以上都是
{
"node_id": "java-c6a5d8d2c6394aae9ba504a2d2e922e8",
"keywords": [],
"keywords": ["集合", "list", "列表"],
"children": [
{
"List接口简介": {
......@@ -27,6 +27,6 @@
}
}
],
"export": [],
"export": ["list.json"],
"title": "List接口"
}
\ No newline at end of file
{
"type": "code_options",
"author": "熊克斐",
"source": "list.md",
"exercise_id": "",
"notebook_enable": false
"type": "code_options",
"author": "熊克斐",
"source": "list.md",
"exercise_id": "d7d1d8ac9669479bbd22b61fda84be44",
"notebook_enable": false
}
\ No newline at end of file
{
"node_id": "java-04044ad9b1914b928a0f48be4478f9ac",
"keywords": [],
"keywords": ["集合", "迭代", "iteratable"],
"children": [
{
"Iterator遍历集合": {
......
......@@ -4,7 +4,7 @@
## 答案
D
以上都是
## 选项
......@@ -40,6 +40,4 @@ for (String str : array) {
}
```
### D
以上都是
{
"node_id": "java-243249b52e4449d1acc2f61ac3d492c4",
"keywords": [],
"keywords": ["集合", "set"],
"children": [
{
"Set接口简介": {
......
......@@ -4,7 +4,9 @@
## 答案
C
```java
LinkedSet
```
## 选项
......@@ -22,13 +24,6 @@ HashSet
TreeSet
```
### C
```java
LinkedSet
```
### D
以上都是
{
"node_id": "java-585898e24579448980def03a33fd553c",
"keywords": [],
"keywords": ["集合", "字典", "map"],
"children": [
{
"Map接口简介": {
......
......@@ -4,7 +4,7 @@
## 答案
D
以上都是
## 选项
......@@ -29,6 +29,5 @@ Hashtable不是线程安全的
ConcurrentHashMap无法保证并发的安全性
```
### D
以上都是
......@@ -4,14 +4,10 @@
## 答案
A
List和Set都是Collections的子类
## 选项
### A
List和Set都是Collections的子类
### B
Map不是Collection的子类
......
{
"node_id": "java-bfbb4319eb60496583ace9aca561c7ab",
"keywords": [],
"keywords": ["集合", "链表"],
"children": [],
"export": ["linkedlist.json"],
"title": "链表"
......
......@@ -4,7 +4,7 @@
## 答案
B
默认会把元素添加到链表的第一个位置
## 选项
......@@ -12,10 +12,6 @@ B
LinkedList类是双向列表,列表中的每个节点都包含了对前一个和后一个元素的引用
### B
默认会把元素添加到链表的第一个位置
### C
清空LinkedList的方法是clear()
......
......@@ -4,7 +4,7 @@
## 答案
C
ArrayList中的元素是有序的
## 选项
......@@ -16,10 +16,6 @@ ArrayList底层是基于数组来实现容量大小动态变化的
ArrayList的扩容机制为首先扩容为原始容量的 1.5 倍
### C
ArrayList中的元素是有序的
### D
以上都不是
{
"node_id": "java-a8e9302bf3f34c67b6d0d1d1dd5b8e06",
"keywords": [],
"keywords": ["集合", "ArrayList"],
"children": [],
"export": ["arraylist.json"],
"title": "数组列表"
......
{
"node_id": "java-53a2b2fe37394f808059240a7a65c347",
"keywords": [],
"keywords": ["集合", "HashSet"],
"children": [],
"export": [],
"title": "散列集"
......
......@@ -4,7 +4,7 @@
## 答案
C
ArrayList中的元素是有序的
## 选项
......@@ -16,10 +16,6 @@ HashSet的无参构造函数创建一个大小为16的容器,加载因子为0.
HashSet可以存储重复的元素
### C
ArrayList中的元素是有序的
### D
以上都不是
......@@ -9,14 +9,10 @@ int b = a++;
## 答案
A
1
## 选项
### A
1
### B
2
......
{
"node_id": "java-a4cc291dc2264301a87f361de4b8d6ea",
"keywords": [],
"keywords": ["算术操作符"],
"children": [
{
"一元加、减操作符": {
......
......@@ -13,24 +13,26 @@ System.out.println("b = " + b);
## 答案
A
## 选项
### A
```
a = 1
b = 0
```
## 选项
### B
```
a = 1
b = 1
```
### C
```
a = 0
b = 1
```
### D
......
{
"node_id": "java-f6e6b9e930ef46699788339fc7322f18",
"keywords": [],
"keywords": ["递增", "递减"],
"children": [],
"export": ["autoincrease.json"],
"title": "自动递增和递减"
......
{
"node_id": "java-21247e52fb0849699959f78321bc855e",
"keywords": [],
"keywords": ["关系运算"],
"children": [
{
"测试对象的等价性": {
......
{
"node_id": "java-a7a6076a60e140f18b63b6ea3574eed2",
"keywords": [],
"keywords": ["逻辑", "布尔", "bool", "boolean"],
"children": [
{
"短路": {
......
......@@ -4,7 +4,16 @@
## 答案
B
```java
boolean flag1 = false;
boolean flag2 = false;
if (flag1 && flag2) {
System.out.println("1024");
} else {
System.out.println("CSDN");
}
```
## 选项
......@@ -21,19 +30,6 @@ if (!flag1 || flag2) {
}
```
### B
```java
boolean flag1 = false;
boolean flag2 = false;
if (flag1 && flag2) {
System.out.println("1024");
} else {
System.out.println("CSDN");
}
```
### C
```java
......
{
"type": "code_options",
"author": "熊克斐",
"source": "bit.md",
"exercise_id": "",
"notebook_enable": false
"type": "code_options",
"author": "熊克斐",
"source": "bit.md",
"notebook_enable": false,
"exercise_id": "84395adb6bd34485a58b388ab28ec315"
}
\ No newline at end of file
......@@ -10,7 +10,7 @@ System.out.println(1 | 2);
## 答案
D
以上都不是
## 选项
......@@ -29,6 +29,3 @@ D
2
2
### D
以上都不是
{
"node_id": "java-58320af2f24648198eda32c4da587b5d",
"keywords": [],
"keywords": ["位运算", "bit", "比特"],
"children": [],
"export": [],
"export": ["bit.json"],
"title": "按位操作符"
}
\ No newline at end of file
{
"node_id": "java-0d405a41281d424ca00dca4e18c12b61",
"keywords": [],
"keywords": ["位运算", "左移", "右移"],
"children": [],
"export": [],
"export": ["move.json"],
"title": "移位操作符"
}
\ No newline at end of file
{
"type": "code_options",
"author": "熊克斐",
"source": "move.md",
"exercise_id": "",
"notebook_enable": false
"type": "code_options",
"author": "熊克斐",
"source": "move.md",
"exercise_id": "5eb1972ea2cd427781cc5f0162552186",
"notebook_enable": false
}
\ No newline at end of file
......@@ -11,24 +11,26 @@ System.out.println(c >> d);
## 答案
A
## 选项
### A
```
8
0
```
## 选项
### B
```
16
-1
```
### C
```
2
2
```
### D
......
{
"node_id": "java-27584561349847fa84c7905215131621",
"keywords": [],
"keywords": ["逻辑", "三元运算符"],
"children": [],
"export": ["three.json"],
"title": "三元操作符if-else"
......
......@@ -11,7 +11,7 @@ System.out.println(a == b ? 0 : 1);
## 答案
B
1
## 选项
......@@ -19,10 +19,6 @@ B
10
### B
1
### C
20
......
......@@ -3,7 +3,6 @@
下面代码执行后的结果是:
```java
String s1 = "1";
int s2 = 2;
System.out.println(s1 + s2);
......@@ -11,7 +10,7 @@ System.out.println(s1 + s2);
## 答案
C
12
## 选项
......@@ -25,8 +24,5 @@ C
### C
12
### D
以上都不是
{
"node_id": "java-8fad68e2479a4e93875c6ca1746baef6",
"keywords": [],
"keywords": ["字符串"],
"children": [],
"export": ["String.json"],
"title": "字符串操作符 + 和 +="
......
{
"node_id": "java-b075138ebd0145338459d7a9de46aef7",
"keywords": [],
"children": [
{
"截尾和舍入": {
"keywords": [],
"children": [],
"node_id": "java-805d92324ad14bf48a50084d9af74a8c",
"title": "截尾和舍入"
}
},
{
"提升": {
"keywords": [],
"children": [],
"node_id": "569d5e11c4fc5de7844053d9a733c5e8",
"title": "提升"
}
}
],
"export": [],
"title": "类型转换操作符"
}
\ No newline at end of file
{
"node_id": "java-85a126a6ba39488aaabd2d4015353175",
"keywords": [],
"keywords": ["流程控制", "if", "else"],
"children": [],
"export": [],
"title": "if-else"
......
{
"node_id": "java-722dc1cccbc74369b9bff5ac580bc649",
"keywords": [],
"keywords": ["流程控制", "for", "循环", "foreach"],
"children": [],
"export": [
"for.json",
......
{
"node_id": "java-05144fa9daf94a64ad0667eab1d6cc9a",
"keywords": [],
"keywords": ["流程控制", "switch"],
"children": [],
"export": ["switch.json"],
"title": "switch"
......
{
"node_id": "java-d11b7f01004c443ea6226d174ba1e3fa",
"keywords": [],
"keywords": ["异常", "错误", "try", "catch", "finally"],
"children": [
{
"概念": {
......
{
"type": "code_options",
"author": "刘鑫",
"source": "call.md",
"notebook_enable": false,
"exercise_id": "6e8215c3d78746279787c02cd6b40db4"
}
\ No newline at end of file
# tampline 调用
我们需要编写一个函数,对浮点数进行sigmod计算,即 `f(x)=1/(1+e^(-x))`,下列函数实现正确的是:
## 答案
```java
import math.Math;
public class Util{
public float sigmod(float x){
return 1/(1+Math.exp(-x));
}
}
```
## 选项
### 没有 return
```java
import math.Math;
public class Util{
public float sigmod(float x){
1/(1+Math.exp(-x));
}
}
```
### 错误的结果返回方式
```java
import math.Math;
public class Util{
public void sigmod(float x, float result){
result = 1/(1+Math.exp(-x));
}
}
```
### 结构定义错误
```java
import math.Math;
public class Util{
public sigmod(float x) -> float{
return 1/(1+Math.exp(-x));
}
}
```
### 结构定义错误
```java
import math.Math;
public class Util{
public sigmod(float x):float = {
return 1/(1+Math.exp(-x));
}
}
```
### 结构定义错误
```java
import math.Math;
public class Util{
public sigmod(float x) returns float {
return 1/(1+Math.exp(-x));
}
}
```
### 结构定义错误
```java
import math.Math;
public class Util{
public sigmod(float x):float {
return 1/(1+Math.exp(-x));
}
}
```
{
"node_id": "java-f2482f12e0634885bdf6701a5a802c77",
"keywords": [],
"keywords": ["函数", "function"],
"children": [],
"export": ["try.json"]
"export": ["call.json", "parser.json"]
}
\ No newline at end of file
{
"type": "code_options",
"author": "刘鑫",
"source": "try.md",
"source": "parser.md",
"exercise_id": "6d8116aa4c254e808bc1c2aa33afdd4f",
"notebook_enable": false
}
\ No newline at end of file
# Try 封装
# Parser 函数
我们的项目中有一个预备好的 `Try<T>` 类型,它可以携带正常对象或异常,只需要调用对应的静态方法
`Try.success(T result)` 或者 `Try.failure(Throwable err)` 即可。
......
......@@ -2,6 +2,6 @@
"node_id": "java-9f8b0da343fd415c9b29380647b0f1f8",
"keywords": [],
"children": [],
"export": [],
"export": ["map_reduce.json"],
"title": "流简介"
}
\ No newline at end of file
......@@ -2,5 +2,6 @@
"type": "code_options",
"author": "刘鑫",
"source": "map_reduce.md",
"notebook_enable": true
"notebook_enable": true,
"exercise_id": "76508072bc98405287653b9827f86424"
}
\ No newline at end of file
......@@ -57,9 +57,8 @@
"Java的基本语法格式": {
"node_id": "java-efb87004230b4680a32c6584112c6f20",
"keywords": [
"输出",
"循环",
"for"
"语法",
"Hello World"
],
"children": []
}
......@@ -67,21 +66,18 @@
{
"Java中的注释": {
"node_id": "java-c668b26b90ab4982bd906933809d6049",
"keywords": [],
"keywords": [
"注释 "
],
"children": []
}
},
{
"Java中的关键字": {
"node_id": "java-0021d9d14dfc429cab17b4dd912651b6",
"keywords": [],
"children": []
}
},
{
"Java中的标识符": {
"node_id": "java-1d41e245176e437e8103e481bc91aa3b",
"keywords": [],
"keywords": [
"关键字"
],
"children": []
}
}
......@@ -107,7 +103,10 @@
{
"变量的数据类型": {
"node_id": "java-ac26535850ef4aaf8bb9fec08bc47825",
"keywords": [],
"keywords": [
"变量",
"类型"
],
"children": []
}
},
......@@ -187,14 +186,24 @@
{
"if条件语句": {
"node_id": "java-d4a802d353d648a0a4c90daf60774cf3",
"keywords": [],
"keywords": [
"条件",
"控制",
"分支",
"if"
],
"children": []
}
},
{
"switch条件语句": {
"node_id": "java-180cf0806d374fa4b10fdaebcc946d89",
"keywords": [],
"keywords": [
"条件",
"控制",
"分支",
"switch"
],
"children": []
}
}
......@@ -207,16 +216,23 @@
"keywords": [],
"children": [
{
"do…while循环语句": {
"dowhile循环": {
"node_id": "java-9814a131da364cd0a3933b640ddb421c",
"keywords": [],
"keywords": [
"循环",
"do",
"while"
],
"children": []
}
},
{
"for循环语句": {
"node_id": "java-911127b38b884ab4bb5a35365c41833b",
"keywords": [],
"keywords": [
"循环",
"for"
],
"children": []
}
}
......@@ -231,14 +247,21 @@
{
"Collection接口": {
"node_id": "java-73271e880f0843f69437427bfc557ff2",
"keywords": [],
"keywords": [
"集合",
"collection"
],
"children": []
}
},
{
"List接口": {
"node_id": "java-c6a5d8d2c6394aae9ba504a2d2e922e8",
"keywords": [],
"keywords": [
"集合",
"list",
"列表"
],
"children": [
{
"List接口简介": {
......@@ -270,7 +293,11 @@
{
"Collection集合遍历": {
"node_id": "java-04044ad9b1914b928a0f48be4478f9ac",
"keywords": [],
"keywords": [
"集合",
"迭代",
"iteratable"
],
"children": [
{
"Iterator遍历集合": {
......@@ -302,7 +329,10 @@
{
"Set接口": {
"node_id": "java-243249b52e4449d1acc2f61ac3d492c4",
"keywords": [],
"keywords": [
"集合",
"set"
],
"children": [
{
"Set接口简介": {
......@@ -334,7 +364,11 @@
{
"Map接口": {
"node_id": "java-585898e24579448980def03a33fd553c",
"keywords": [],
"keywords": [
"集合",
"字典",
"map"
],
"children": [
{
"Map接口简介": {
......@@ -404,35 +438,51 @@
{
"链表": {
"node_id": "java-bfbb4319eb60496583ace9aca561c7ab",
"keywords": [],
"keywords": [
"集合",
"链表"
],
"children": []
}
},
{
"数组列表": {
"node_id": "java-a8e9302bf3f34c67b6d0d1d1dd5b8e06",
"keywords": [],
"keywords": [
"集合",
"ArrayList"
],
"children": []
}
},
{
"散列集": {
"node_id": "java-53a2b2fe37394f808059240a7a65c347",
"keywords": [],
"keywords": [
"集合",
"HashSet"
],
"children": []
}
},
{
"树集": {
"node_id": "java-b295e8ba38ed4e3c90ea0f7b0d70039e",
"keywords": [],
"keywords": [
"集合",
"树"
],
"children": []
}
},
{
"映射": {
"node_id": "java-7625240ab0254b198142c52926465f42",
"keywords": [],
"keywords": [
"集合",
"映射",
"字典"
],
"children": [
{
"基本映射操作": {
......@@ -524,28 +574,43 @@
{
"编写equals和hashCode": {
"node_id": "java-bb2a2b6d7b114799b01aa89bafbdab86",
"keywords": [],
"keywords": [
"判等",
"hash",
"equals"
],
"children": []
}
},
{
"使用TreeMap": {
"node_id": "java-6d9ccc979da54411ac65fccd1a12071e",
"keywords": [],
"keywords": [
"集合",
"TreeMap",
"字典"
],
"children": []
}
},
{
"使用Properties": {
"node_id": "java-7b0b78c00f934f7f958dcf7107243ae1",
"keywords": [],
"keywords": [
"属性",
"字典",
"集合"
],
"children": []
}
},
{
"使用Deque": {
"node_id": "java-ff4a16d20df24eda93d843749e777a76",
"keywords": [],
"keywords": [
"集合",
"队列"
],
"children": []
}
}
......@@ -560,7 +625,9 @@
{
"算术操作符": {
"node_id": "java-a4cc291dc2264301a87f361de4b8d6ea",
"keywords": [],
"keywords": [
"算术操作符"
],
"children": [
{
"一元加、减操作符": {
......@@ -576,14 +643,19 @@
{
"自动递增和递减": {
"node_id": "java-f6e6b9e930ef46699788339fc7322f18",
"keywords": [],
"keywords": [
"递增",
"递减"
],
"children": []
}
},
{
"关系操作符": {
"node_id": "java-21247e52fb0849699959f78321bc855e",
"keywords": [],
"keywords": [
"关系运算"
],
"children": [
{
"测试对象的等价性": {
......@@ -599,7 +671,12 @@
{
"逻辑操作符": {
"node_id": "java-a7a6076a60e140f18b63b6ea3574eed2",
"keywords": [],
"keywords": [
"逻辑",
"布尔",
"bool",
"boolean"
],
"children": [
{
"短路": {
......@@ -615,54 +692,43 @@
{
"按位操作符": {
"node_id": "java-58320af2f24648198eda32c4da587b5d",
"keywords": [],
"keywords": [
"位运算",
"bit",
"比特"
],
"children": []
}
},
{
"移位操作符": {
"node_id": "java-0d405a41281d424ca00dca4e18c12b61",
"keywords": [],
"keywords": [
"位运算",
"左移",
"右移"
],
"children": []
}
},
{
"三元操作符if-else": {
"node_id": "java-27584561349847fa84c7905215131621",
"keywords": [],
"keywords": [
"逻辑",
"三元运算符"
],
"children": []
}
},
{
"字符串操作符 + 和 +=": {
"node_id": "java-8fad68e2479a4e93875c6ca1746baef6",
"keywords": [],
"keywords": [
"字符串"
],
"children": []
}
},
{
"类型转换操作符": {
"node_id": "java-b075138ebd0145338459d7a9de46aef7",
"keywords": [],
"children": [
{
"截尾和舍入": {
"keywords": [],
"children": [],
"node_id": "java-805d92324ad14bf48a50084d9af74a8c",
"title": "截尾和舍入"
}
},
{
"提升": {
"keywords": [],
"children": [],
"node_id": "569d5e11c4fc5de7844053d9a733c5e8",
"title": "提升"
}
}
]
}
}
]
}
......@@ -675,28 +741,46 @@
{
"if-else": {
"node_id": "java-85a126a6ba39488aaabd2d4015353175",
"keywords": [],
"keywords": [
"流程控制",
"if",
"else"
],
"children": []
}
},
{
"for": {
"node_id": "java-722dc1cccbc74369b9bff5ac580bc649",
"keywords": [],
"keywords": [
"流程控制",
"for",
"循环",
"foreach"
],
"children": []
}
},
{
"switch": {
"node_id": "java-05144fa9daf94a64ad0667eab1d6cc9a",
"keywords": [],
"keywords": [
"流程控制",
"switch"
],
"children": []
}
},
{
"通过异常处理错误": {
"node_id": "java-d11b7f01004c443ea6226d174ba1e3fa",
"keywords": [],
"keywords": [
"异常",
"错误",
"try",
"catch",
"finally"
],
"children": [
{
"概念": {
......@@ -916,7 +1000,10 @@
{
"函数": {
"node_id": "java-f2482f12e0634885bdf6701a5a802c77",
"keywords": [],
"keywords": [
"函数",
"function"
],
"children": []
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册