Skip to content

Commit 462be58

Browse files
author
Justin Lin
committed
新增勘誤
1 parent b3cde62 commit 462be58

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

correct_errors.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@
102102

103103
![P9-6](images/9_6_typo_1.JPG)
104104

105+
## P9-7
106+
107+
![P9-7](images/9_7_typo_1.JPG)
108+
105109
## P12-41
106110

107111
![P12-41](images/12_41_typo_1.JPG)

images/9_6_typo_1.JPG

-1.97 KB
Loading

images/9_7_typo_1.JPG

30.3 KB
Loading

samples/CH09/Collection/src/cc/openhome/SimpleLinkedList.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
public class SimpleLinkedList {
44
private class Node {
5-
Node(Object elem) {
6-
this.elem = elem;
5+
Node(Object o) {
6+
this.o = o;
77
}
8-
Object elem;
8+
Object o;
99
Node next;
1010
}
1111

@@ -59,6 +59,6 @@ private Object findElemOf(int index) {
5959
last = last.next;
6060
count++;
6161
}
62-
return last.elem;
62+
return last.o;
6363
}
6464
}

0 commit comments

Comments
 (0)