Roy 6 年前
父节点
当前提交
63efb2174e
共有 3 个文件被更改,包括 151 次插入40 次删除
  1. 6
    4
      Console.java
  2. 0
    0
      README.TXT
  3. 145
    36
      package.bluej

+ 6
- 4
Console.java 查看文件

@@ -1,9 +1,14 @@
1 1
 
2
+
2 3
 import java.util.Scanner;
4
+
5
+import java.util.*;
6
+
7
+
3 8
 /**
4 9
  * Created by leon on 2/9/18.
5 10
  */
6
-public class Console {
11
+public class Console extends DiplayMode {
7 12
 
8 13
     public static void print(String output, Object... args) {
9 14
         System.out.printf(output, args);
@@ -38,8 +43,5 @@ public class Console {
38 43
         return userInput;
39 44
     }
40 45
 
41
-    //public static Double getNumberForUniOperators(){
42
-        
43 46
 
44
-   // }
45 47
 }

+ 0
- 0
README.TXT 查看文件


+ 145
- 36
package.bluej 查看文件

@@ -1,20 +1,50 @@
1 1
 #BlueJ package file
2
-dependency1.from=MainApplication
3
-dependency1.to=Console
2
+dependency1.from=bonusFunctionsTest
3
+dependency1.to=bonusFunctions
4 4
 dependency1.type=UsesDependency
5
-dependency2.from=MainApplication
6
-dependency2.to=Operations
5
+dependency10.from=Operations
6
+dependency10.to=Console
7
+dependency10.type=UsesDependency
8
+dependency11.from=ConsoleTest
9
+dependency11.to=Console
10
+dependency11.type=UsesDependency
11
+dependency12.from=MainApplication
12
+dependency12.to=Console
13
+dependency12.type=UsesDependency
14
+dependency13.from=MainApplication
15
+dependency13.to=Operations
16
+dependency13.type=UsesDependency
17
+dependency2.from=scienticFunctionsTest
18
+dependency2.to=scienticFunctions
7 19
 dependency2.type=UsesDependency
8
-dependency3.from=Operations
9
-dependency3.to=scienticFunctions
20
+dependency3.from=DiplayMode
21
+dependency3.to=Console
10 22
 dependency3.type=UsesDependency
23
+dependency4.from=Calculator
24
+dependency4.to=CoreFunctions
25
+dependency4.type=UsesDependency
26
+dependency5.from=Calculator
27
+dependency5.to=Operations
28
+dependency5.type=UsesDependency
29
+dependency6.from=Operations
30
+dependency6.to=scienticFunctions
31
+dependency6.type=UsesDependency
32
+dependency7.from=Operations
33
+dependency7.to=Memory
34
+dependency7.type=UsesDependency
35
+dependency8.from=Operations
36
+dependency8.to=DiplayMode
37
+dependency8.type=UsesDependency
38
+dependency9.from=Operations
39
+dependency9.to=bonusFunctions
40
+dependency9.type=UsesDependency
11 41
 editor.fx.0.height=717
12 42
 editor.fx.0.width=800
13
-editor.fx.0.x=480
43
+editor.fx.0.x=371
14 44
 editor.fx.0.y=23
15 45
 objectbench.height=200
16
-objectbench.width=518
17
-package.divider.horizontal=0.5639097744360902
46
+objectbench.width=552
47
+package.divider.horizontal=0.6004296455424275
18 48
 package.divider.vertical=0.6854103343465046
19 49
 package.editor.height=444
20 50
 package.editor.width=825
@@ -22,8 +52,8 @@ package.editor.x=35
22 52
 package.editor.y=23
23 53
 package.frame.height=716
24 54
 package.frame.width=951
25
-package.numDependencies=3
26
-package.numTargets=6
55
+package.numDependencies=13
56
+package.numTargets=17
27 57
 package.showExtends=true
28 58
 package.showUses=true
29 59
 project.charset=UTF-8
@@ -33,44 +63,123 @@ readme.width=47
33 63
 readme.x=10
34 64
 readme.y=10
35 65
 target1.height=50
36
-target1.name=Console
66
+target1.name=CoreFunctionsCo
37 67
 target1.showInterface=false
38 68
 target1.type=ClassTarget
39
-target1.width=80
40
-target1.x=80
41
-target1.y=200
69
+target1.width=130
70
+target1.x=10
71
+target1.y=120
72
+target10.height=50
73
+target10.name=CoreFunctionsTest
74
+target10.showInterface=false
75
+target10.type=ClassTarget
76
+target10.width=140
77
+target10.x=10
78
+target10.y=240
79
+target11.height=50
80
+target11.name=Calculator
81
+target11.showInterface=false
82
+target11.type=ClassTarget
83
+target11.width=90
84
+target11.x=160
85
+target11.y=260
86
+target12.height=50
87
+target12.name=Console
88
+target12.showInterface=false
89
+target12.type=ClassTarget
90
+target12.width=80
91
+target12.x=240
92
+target12.y=200
93
+target13.association=bonusFunctionsTest
94
+target13.height=50
95
+target13.name=bonusFunctions
96
+target13.showInterface=false
97
+target13.type=ClassTarget
98
+target13.width=120
99
+target13.x=500
100
+target13.y=330
101
+target14.height=50
102
+target14.name=Operations
103
+target14.showInterface=false
104
+target14.type=ClassTarget
105
+target14.width=90
106
+target14.x=380
107
+target14.y=370
108
+target15.height=50
109
+target15.name=ConsoleTest
110
+target15.showInterface=false
111
+target15.type=ClassTarget
112
+target15.width=100
113
+target15.x=10
114
+target15.y=300
115
+target16.height=50
116
+target16.name=MainApplication
117
+target16.showInterface=false
118
+target16.type=ClassTarget
119
+target16.width=120
120
+target16.x=140
121
+target16.y=60
122
+target17.height=50
123
+target17.name=Display
124
+target17.showInterface=false
125
+target17.type=ClassTarget
126
+target17.width=80
127
+target17.x=160
128
+target17.y=320
42 129
 target2.height=50
43
-target2.name=scienticFunctions
130
+target2.name=CoreFunctionsCoTest
44 131
 target2.showInterface=false
45 132
 target2.type=ClassTarget
46
-target2.width=130
47
-target2.x=240
48
-target2.y=290
133
+target2.width=160
134
+target2.x=10
135
+target2.y=180
49 136
 target3.height=50
50
-target3.name=calculatorCoreFunctions
137
+target3.name=Memory
51 138
 target3.showInterface=false
52 139
 target3.type=ClassTarget
53
-target3.width=180
54
-target3.x=30
55
-target3.y=290
140
+target3.width=80
141
+target3.x=640
142
+target3.y=370
56 143
 target4.height=50
57
-target4.name=bonusFunctions
144
+target4.name=bonusFunctionsTest
58 145
 target4.showInterface=false
59
-target4.type=ClassTarget
146
+target4.type=UnitTestTargetJunit4
60 147
 target4.width=120
61
-target4.x=380
62
-target4.y=290
148
+target4.x=530
149
+target4.y=300
150
+target5.association=scienticFunctionsTest
63 151
 target5.height=50
64
-target5.name=Operations
152
+target5.name=scienticFunctions
65 153
 target5.showInterface=false
66 154
 target5.type=ClassTarget
67
-target5.width=90
68
-target5.x=180
69
-target5.y=370
155
+target5.width=130
156
+target5.x=500
157
+target5.y=230
70 158
 target6.height=50
71
-target6.name=MainApplication
159
+target6.name=scienticFunctionsTest
72 160
 target6.showInterface=false
73
-target6.type=ClassTarget
74
-target6.width=120
75
-target6.x=70
76
-target6.y=70
161
+target6.type=UnitTestTargetJunit4
162
+target6.width=130
163
+target6.x=530
164
+target6.y=200
165
+target7.height=50
166
+target7.name=calculatorCoreFunctions
167
+target7.showInterface=false
168
+target7.type=ClassTarget
169
+target7.width=180
170
+target7.x=460
171
+target7.y=150
172
+target8.height=50
173
+target8.name=CoreFunctions
174
+target8.showInterface=false
175
+target8.type=ClassTarget
176
+target8.width=120
177
+target8.x=150
178
+target8.y=120
179
+target9.height=50
180
+target9.name=DiplayMode
181
+target9.showInterface=false
182
+target9.type=ClassTarget
183
+target9.width=100
184
+target9.x=50
185
+target9.y=360