Skip to content

Commit bc0026c

Browse files
author
Bruce Eckel
committed
Radically reorganized
Plus many new examples in "streams" chapter.
1 parent 0edda16 commit bc0026c

File tree

257 files changed

+2024
-422
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

257 files changed

+2024
-422
lines changed

Ant-Clean.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
<exclude name="**/*.cpp" />
3232
<exclude name="**/VendingMachineInput.txt" />
3333
<exclude name="**/Trash.dat" />
34-
<exclude name="**/DDTrash.dat" />
35-
<exclude name="**/VTrash.dat" />
34+
<exclude name="**/Cheese.dat" />
3635
<exclude name="**/log.prop"/>
3736
<exclude name="**/runall.ps1" />
3837
</fileset>

Ant-Common.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,13 @@
7474
<target name="base">
7575
<javac includeantruntime="false"
7676
classpath="${java.class.path};${basedir};${basedir}/.."
77-
srcdir="${basedir}/../com/mindviewinc/">
77+
srcdir="${basedir}/../onjava/">
78+
<compilerarg value="-Xmaxerrs"/>
79+
<compilerarg value="10"/>
80+
</javac>
81+
<javac includeantruntime="false"
82+
classpath="${java.class.path};${basedir};${basedir}/.."
83+
srcdir="${basedir}/../com/">
7884
<compilerarg value="-Xmaxerrs"/>
7985
<compilerarg value="10"/>
8086
</javac>
@@ -90,6 +96,12 @@
9096
<compilerarg value="-Xmaxerrs"/>
9197
<compilerarg value="10"/>
9298
</javac>
99+
<javac includeantruntime="false"
100+
classpath="${java.class.path};${basedir};${basedir}/.."
101+
srcdir="${basedir}/../enums/menu/">
102+
<compilerarg value="-Xmaxerrs"/>
103+
<compilerarg value="10"/>
104+
</javac>
93105
</target>
94106

95107
<target

annotations/AtUnitComposition.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Creating non-embedded tests.
33
package annotations;
44
import com.mindviewinc.atunit.*;
5-
import com.mindviewinc.util.*;
5+
import onjava.*;
66

77
public class AtUnitComposition {
88
AtUnitExample1 testObject = new AtUnitExample1();

annotations/AtUnitExample1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// annotations/AtUnitExample1.java
22
package annotations;
33
import com.mindviewinc.atunit.*;
4-
import com.mindviewinc.util.*;
4+
import onjava.*;
55

66
public class AtUnitExample1 {
77
public String methodOne() {

annotations/AtUnitExample2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package annotations;
44
import java.io.*;
55
import com.mindviewinc.atunit.*;
6-
import com.mindviewinc.util.*;
6+
import onjava.*;
77

88
public class AtUnitExample2 {
99
public String methodOne() {

annotations/AtUnitExample3.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// annotations/AtUnitExample3.java
22
package annotations;
33
import com.mindviewinc.atunit.*;
4-
import com.mindviewinc.util.*;
4+
import onjava.*;
55

66
public class AtUnitExample3 {
77
private int n;

annotations/AtUnitExample4.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
package annotations;
33
import java.util.*;
44
import com.mindviewinc.atunit.*;
5-
import com.mindviewinc.util.*;
5+
import onjava.*;
66

77
public class AtUnitExample4 {
88
static String theory = "All brontosauruses " +

annotations/AtUnitExample5.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
package annotations;
33
import java.io.*;
44
import com.mindviewinc.atunit.*;
5-
import com.mindviewinc.util.*;
5+
import onjava.*;
66

77
public class AtUnitExample5 {
88
private String text;

annotations/AtUnitExternalTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Creating non-embedded tests.
33
package annotations;
44
import com.mindviewinc.atunit.*;
5-
import com.mindviewinc.util.*;
5+
import onjava.*;
66

77
public class AtUnitExternalTest extends AtUnitExample1 {
88
@Test boolean _methodOne() {

annotations/HashSetTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
package annotations;
33
import java.util.*;
44
import com.mindviewinc.atunit.*;
5-
import com.mindviewinc.util.*;
5+
import onjava.*;
66

77
public class HashSetTest {
88
HashSet<String> testObject = new HashSet<>();

0 commit comments

Comments
 (0)