Skip to content

Commit 63e43bb

Browse files
author
Bruce Eckel
committed
Removed two appendices
1 parent 8b00b51 commit 63e43bb

25 files changed

+147
-464
lines changed

check.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
cp ..\..\OnJava-Tools\verify_output.py .
2-
python verify_output.py
2+
py -3 verify_output.py

collectiontopics/CollectionMethods.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ public static void main(String[] args) {
7979
Azure
8080
ten
8181
eleven
82-
------------------------------
82+
******************************
8383
Collections.max(c) = ten
8484
Collections.min(c) = AliceBlue
85-
------------------------------
85+
******************************
8686
AliceBlue
8787
AntiqueWhite
8888
Aquamarine
@@ -93,7 +93,7 @@ public static void main(String[] args) {
9393
BurlyWood
9494
CadetBlue
9595
Chartreuse
96-
------------------------------
96+
******************************
9797
AntiqueWhite
9898
Aquamarine
9999
Azure
@@ -103,13 +103,13 @@ public static void main(String[] args) {
103103
BurlyWood
104104
CadetBlue
105105
Chartreuse
106-
------------------------------
106+
******************************
107107
AntiqueWhite
108108
Aquamarine
109109
Azure
110110
ten
111111
eleven
112-
------------------------------
112+
******************************
113113
AntiqueWhite
114114
Aquamarine
115115
Azure
@@ -119,11 +119,11 @@ public static void main(String[] args) {
119119
BurlyWood
120120
CadetBlue
121121
Chartreuse
122-
------------------------------
122+
******************************
123123
c.contains(Azure) = true
124124
c.containsAll(c2) = true
125125
c2.isEmpty() = true
126-
------------------------------
126+
******************************
127127
PapayaWhip
128128
PeachPuff
129129
Peru

collectiontopics/HTMLColorTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static void main(String[] args) {
3737
0xFFF8DC: Cornsilk
3838
0xDC143C: Crimson
3939
0x00FFFF: Cyan
40-
------------------------------
40+
******************************
4141
AliceBlue 0xF0F8FF
4242
AntiqueWhite 0xFAEBD7
4343
Aquamarine 0x7FFFD4
@@ -58,7 +58,7 @@ public static void main(String[] args) {
5858
Cornsilk 0xFFF8DC
5959
Crimson 0xDC143C
6060
Cyan 0x00FFFF
61-
------------------------------
61+
******************************
6262
AliceBlue
6363
AntiqueWhite
6464
Aquamarine
@@ -79,7 +79,7 @@ public static void main(String[] args) {
7979
Cornsilk
8080
Crimson
8181
Cyan
82-
------------------------------
82+
******************************
8383
0xF0F8FF
8484
0xFAEBD7
8585
0x7FFFD4

collectiontopics/NavMap.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public static void main(String[] args) {
3535
}
3636
/* Output:
3737
0x000000: Black
38-
------------------------------
38+
******************************
3939
0xFFFFFF: White
40-
------------------------------
40+
******************************
4141
0x000000: Black
4242
0x000080: Navy
4343
0x00008B: DarkBlue
@@ -51,11 +51,11 @@ public static void main(String[] args) {
5151
0x00CED1: DarkTurquoise
5252
0x00FA9A: MediumSpringGreen
5353
0x00FF00: Lime
54-
------------------------------
54+
******************************
5555
0x00BFFF: DeepSkyBlue
56-
------------------------------
56+
******************************
5757
0x008B8B: DarkCyan
58-
------------------------------
58+
******************************
5959
0x00FF00: Lime
6060
0x00FA9A: MediumSpringGreen
6161
0x00CED1: DarkTurquoise
@@ -69,7 +69,7 @@ public static void main(String[] args) {
6969
0x00008B: DarkBlue
7070
0x000080: Navy
7171
0x000000: Black
72-
------------------------------
72+
******************************
7373
0xFFE4E1: MistyRose
7474
0xFFEBCD: BlanchedAlmond
7575
0xFFEFD5: PapayaWhip
@@ -83,7 +83,7 @@ public static void main(String[] args) {
8383
0xFFFFE0: LightYellow
8484
0xFFFFF0: Ivory
8585
0xFFFFFF: White
86-
------------------------------
86+
******************************
8787
0xDA70D6: Orchid
8888
0xDAA520: GoldenRod
8989
0xDB7093: PaleVioletRed

enums/menu/Meal.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static void main(String[] args) {
1212
Food food = course.randomSelection();
1313
System.out.println(food);
1414
}
15-
System.out.println("---");
15+
System.out.println("***");
1616
}
1717
}
1818
}
@@ -21,25 +21,25 @@ public static void main(String[] args) {
2121
VINDALOO
2222
GELATO
2323
CAPPUCCINO
24-
---
24+
***
2525
SPRING_ROLLS
2626
BURRITO
2727
GELATO
2828
HERB_TEA
29-
---
29+
***
3030
SPRING_ROLLS
3131
BURRITO
3232
TIRAMISU
3333
CAPPUCCINO
34-
---
34+
***
3535
SPRING_ROLLS
3636
BURRITO
3737
BLACK_FOREST_CAKE
3838
LATTE
39-
---
39+
***
4040
SALAD
4141
PAD_THAI
4242
GELATO
4343
TEA
44-
---
44+
***
4545
*/

enums/menu/Meal2.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void main(String[] args) {
4141
Food food = meal.randomSelection();
4242
System.out.println(food);
4343
}
44-
System.out.println("---");
44+
System.out.println("***");
4545
}
4646
}
4747
}
@@ -50,25 +50,25 @@ public static void main(String[] args) {
5050
VINDALOO
5151
GELATO
5252
CAPPUCCINO
53-
---
53+
***
5454
SPRING_ROLLS
5555
BURRITO
5656
GELATO
5757
HERB_TEA
58-
---
58+
***
5959
SPRING_ROLLS
6060
BURRITO
6161
TIRAMISU
6262
CAPPUCCINO
63-
---
63+
***
6464
SPRING_ROLLS
6565
BURRITO
6666
BLACK_FOREST_CAKE
6767
LATTE
68-
---
68+
***
6969
SALAD
7070
PAD_THAI
7171
GELATO
7272
TEA
73-
---
73+
***
7474
*/

network/ChatterClient.java

Lines changed: 0 additions & 49 deletions
This file was deleted.

network/ChatterServer.java

Lines changed: 0 additions & 41 deletions
This file was deleted.

network/Dgram.java

Lines changed: 0 additions & 19 deletions
This file was deleted.

network/Local.java

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)