Leon 6 лет назад
Родитель
Сommit
6e8ff467f3

+ 16
- 0
.idea/compiler.xml Просмотреть файл

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="CompilerConfiguration">
4
+    <annotationProcessing>
5
+      <profile name="Maven default annotation processors profile" enabled="true">
6
+        <sourceOutputDir name="target/generated-sources/annotations" />
7
+        <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8
+        <outputRelativeToContentRoot value="true" />
9
+        <module name="scientific_calculator" />
10
+      </profile>
11
+    </annotationProcessing>
12
+    <bytecodeTargetLevel target="1.8">
13
+      <module name="scientific_calculator" target="1.5" />
14
+    </bytecodeTargetLevel>
15
+  </component>
16
+</project>

+ 7
- 0
.idea/kotlinc.xml Просмотреть файл

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="KotlinCommonCompilerArguments">
4
+    <option name="languageVersion" value="1.1" />
5
+    <option name="apiVersion" value="1.1" />
6
+  </component>
7
+</project>

+ 90
- 0
.idea/misc.xml Просмотреть файл

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="MavenProjectsManager">
4
+    <option name="originalFiles">
5
+      <list>
6
+        <option value="$PROJECT_DIR$/pom.xml" />
7
+      </list>
8
+    </option>
9
+  </component>
10
+  <component name="ProjectInspectionProfilesVisibleTreeState">
11
+    <entry key="Project Default">
12
+      <profile-state>
13
+        <expanded-state>
14
+          <State>
15
+            <id />
16
+          </State>
17
+        </expanded-state>
18
+        <selected-state>
19
+          <State>
20
+            <id>Android</id>
21
+          </State>
22
+        </selected-state>
23
+      </profile-state>
24
+    </entry>
25
+  </component>
26
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
27
+    <output url="file://$PROJECT_DIR$/out" />
28
+  </component>
29
+  <component name="masterDetails">
30
+    <states>
31
+      <state key="GlobalLibrariesConfigurable.UI">
32
+        <settings>
33
+          <splitter-proportions>
34
+            <option name="proportions">
35
+              <list>
36
+                <option value="0.2" />
37
+              </list>
38
+            </option>
39
+          </splitter-proportions>
40
+        </settings>
41
+      </state>
42
+      <state key="JdkListConfigurable.UI">
43
+        <settings>
44
+          <last-edited>1.8</last-edited>
45
+          <splitter-proportions>
46
+            <option name="proportions">
47
+              <list>
48
+                <option value="0.2" />
49
+              </list>
50
+            </option>
51
+          </splitter-proportions>
52
+        </settings>
53
+      </state>
54
+      <state key="ProjectJDKs.UI">
55
+        <settings>
56
+          <last-edited>1.8</last-edited>
57
+          <splitter-proportions>
58
+            <option name="proportions">
59
+              <list>
60
+                <option value="0.2" />
61
+              </list>
62
+            </option>
63
+          </splitter-proportions>
64
+        </settings>
65
+      </state>
66
+      <state key="ProjectLibrariesConfigurable.UI">
67
+        <settings>
68
+          <splitter-proportions>
69
+            <option name="proportions">
70
+              <list>
71
+                <option value="0.2" />
72
+              </list>
73
+            </option>
74
+          </splitter-proportions>
75
+        </settings>
76
+      </state>
77
+      <state key="ScopeChooserConfigurable.UI">
78
+        <settings>
79
+          <splitter-proportions>
80
+            <option name="proportions">
81
+              <list>
82
+                <option value="0.2" />
83
+              </list>
84
+            </option>
85
+          </splitter-proportions>
86
+        </settings>
87
+      </state>
88
+    </states>
89
+  </component>
90
+</project>

+ 8
- 0
.idea/modules.xml Просмотреть файл

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/scientific_calculator.iml" filepath="$PROJECT_DIR$/scientific_calculator.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 523
- 0
.idea/workspace.xml Просмотреть файл

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="2198802b-d4ec-4041-8e1d-7aeccbb96f0d" name="Default" comment="" />
5
+    <ignored path="$PROJECT_DIR$/out/" />
6
+    <ignored path="$PROJECT_DIR$/target/" />
7
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
8
+    <option name="TRACKING_ENABLED" value="true" />
9
+    <option name="SHOW_DIALOG" value="false" />
10
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
11
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
12
+    <option name="LAST_RESOLUTION" value="IGNORE" />
13
+  </component>
14
+  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
15
+  <component name="FileEditorManager">
16
+    <leaf>
17
+      <file leaf-file-name="pom.xml" pinned="false" current-in-tab="false">
18
+        <entry file="file://$PROJECT_DIR$/pom.xml">
19
+          <provider selected="true" editor-type-id="text-editor">
20
+            <state relative-caret-position="0">
21
+              <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
22
+              <folding />
23
+            </state>
24
+          </provider>
25
+        </entry>
26
+      </file>
27
+      <file leaf-file-name="MainApplication.java" pinned="false" current-in-tab="false">
28
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/scientificcalculator/MainApplication.java">
29
+          <provider selected="true" editor-type-id="text-editor">
30
+            <state relative-caret-position="225">
31
+              <caret line="15" column="5" lean-forward="true" selection-start-line="15" selection-start-column="5" selection-end-line="15" selection-end-column="5" />
32
+              <folding />
33
+            </state>
34
+          </provider>
35
+        </entry>
36
+      </file>
37
+      <file leaf-file-name="Console.java" pinned="false" current-in-tab="true">
38
+        <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/scientificcalculator/Console.java">
39
+          <provider selected="true" editor-type-id="text-editor">
40
+            <state relative-caret-position="360">
41
+              <caret line="24" column="58" lean-forward="true" selection-start-line="24" selection-start-column="58" selection-end-line="24" selection-end-column="58" />
42
+              <folding />
43
+            </state>
44
+          </provider>
45
+        </entry>
46
+      </file>
47
+    </leaf>
48
+  </component>
49
+  <component name="FileTemplateManagerImpl">
50
+    <option name="RECENT_TEMPLATES">
51
+      <list>
52
+        <option value="Class" />
53
+      </list>
54
+    </option>
55
+  </component>
56
+  <component name="GradleLocalSettings">
57
+    <option name="externalProjectsViewState">
58
+      <projects_view />
59
+    </option>
60
+  </component>
61
+  <component name="IdeDocumentHistory">
62
+    <option name="CHANGED_PATHS">
63
+      <list>
64
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/scientificcalculator/MainApplication.java" />
65
+        <option value="$PROJECT_DIR$/src/main/java/com/zipcodewilmington/scientificcalculator/Console.java" />
66
+      </list>
67
+    </option>
68
+  </component>
69
+  <component name="ProjectFrameBounds">
70
+    <option name="x" value="1772" />
71
+    <option name="y" value="113" />
72
+    <option name="width" value="1440" />
73
+    <option name="height" value="873" />
74
+  </component>
75
+  <component name="ProjectView">
76
+    <navigator currentView="ProjectPane" proportions="" version="1">
77
+      <flattenPackages />
78
+      <showMembers />
79
+      <showModules />
80
+      <showLibraryContents />
81
+      <hideEmptyPackages />
82
+      <abbreviatePackageNames />
83
+      <autoscrollToSource />
84
+      <autoscrollFromSource />
85
+      <sortByType />
86
+      <manualOrder />
87
+      <foldersAlwaysOnTop value="true" />
88
+    </navigator>
89
+    <panes>
90
+      <pane id="PackagesPane" />
91
+      <pane id="Scratches" />
92
+      <pane id="Scope" />
93
+      <pane id="ProjectPane">
94
+        <subPane>
95
+          <PATH>
96
+            <PATH_ELEMENT>
97
+              <option name="myItemId" value="scientific_calculator" />
98
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
99
+            </PATH_ELEMENT>
100
+            <PATH_ELEMENT>
101
+              <option name="myItemId" value="scientific_calculator" />
102
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
103
+            </PATH_ELEMENT>
104
+          </PATH>
105
+          <PATH>
106
+            <PATH_ELEMENT>
107
+              <option name="myItemId" value="scientific_calculator" />
108
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
109
+            </PATH_ELEMENT>
110
+            <PATH_ELEMENT>
111
+              <option name="myItemId" value="scientific_calculator" />
112
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
113
+            </PATH_ELEMENT>
114
+            <PATH_ELEMENT>
115
+              <option name="myItemId" value="src" />
116
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
117
+            </PATH_ELEMENT>
118
+          </PATH>
119
+          <PATH>
120
+            <PATH_ELEMENT>
121
+              <option name="myItemId" value="scientific_calculator" />
122
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
123
+            </PATH_ELEMENT>
124
+            <PATH_ELEMENT>
125
+              <option name="myItemId" value="scientific_calculator" />
126
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
127
+            </PATH_ELEMENT>
128
+            <PATH_ELEMENT>
129
+              <option name="myItemId" value="src" />
130
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
131
+            </PATH_ELEMENT>
132
+            <PATH_ELEMENT>
133
+              <option name="myItemId" value="main" />
134
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
135
+            </PATH_ELEMENT>
136
+          </PATH>
137
+          <PATH>
138
+            <PATH_ELEMENT>
139
+              <option name="myItemId" value="scientific_calculator" />
140
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
141
+            </PATH_ELEMENT>
142
+            <PATH_ELEMENT>
143
+              <option name="myItemId" value="scientific_calculator" />
144
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
145
+            </PATH_ELEMENT>
146
+            <PATH_ELEMENT>
147
+              <option name="myItemId" value="src" />
148
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
149
+            </PATH_ELEMENT>
150
+            <PATH_ELEMENT>
151
+              <option name="myItemId" value="main" />
152
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
153
+            </PATH_ELEMENT>
154
+            <PATH_ELEMENT>
155
+              <option name="myItemId" value="java" />
156
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
157
+            </PATH_ELEMENT>
158
+            <PATH_ELEMENT>
159
+              <option name="myItemId" value="scientificcalculator" />
160
+              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
161
+            </PATH_ELEMENT>
162
+          </PATH>
163
+        </subPane>
164
+      </pane>
165
+    </panes>
166
+  </component>
167
+  <component name="PropertiesComponent">
168
+    <property name="settings.editor.selected.configurable" value="reference.projectsettings.compiler.javacompiler" />
169
+    <property name="project.structure.last.edited" value="Project" />
170
+    <property name="project.structure.proportion" value="0.0" />
171
+    <property name="project.structure.side.proportion" value="0.2" />
172
+  </component>
173
+  <component name="RunDashboard">
174
+    <option name="ruleStates">
175
+      <list>
176
+        <RuleState>
177
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
178
+        </RuleState>
179
+        <RuleState>
180
+          <option name="name" value="StatusDashboardGroupingRule" />
181
+        </RuleState>
182
+      </list>
183
+    </option>
184
+  </component>
185
+  <component name="RunManager" selected="Application.MainApplication">
186
+    <configuration default="false" name="MainApplication" type="Application" factoryName="Application" temporary="true" nameIsGenerated="true">
187
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
188
+        <pattern>
189
+          <option name="PATTERN" value="com.zipcodewilmington.scientificcalculator.*" />
190
+          <option name="ENABLED" value="true" />
191
+        </pattern>
192
+      </extension>
193
+      <option name="MAIN_CLASS_NAME" value="com.zipcodewilmington.scientificcalculator.MainApplication" />
194
+      <option name="VM_PARAMETERS" />
195
+      <option name="PROGRAM_PARAMETERS" />
196
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
197
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
198
+      <option name="ALTERNATIVE_JRE_PATH" />
199
+      <option name="ENABLE_SWING_INSPECTOR" value="false" />
200
+      <option name="ENV_VARIABLES" />
201
+      <option name="PASS_PARENT_ENVS" value="true" />
202
+      <module name="scientific_calculator" />
203
+      <envs />
204
+      <method />
205
+    </configuration>
206
+    <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
207
+      <module name="" />
208
+      <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
209
+      <option name="PROGRAM_PARAMETERS" />
210
+      <predefined_log_file id="idea.log" enabled="true" />
211
+      <method />
212
+    </configuration>
213
+    <configuration default="true" type="AndroidRunConfigurationType" factoryName="Android App">
214
+      <module name="" />
215
+      <option name="DEPLOY" value="true" />
216
+      <option name="ARTIFACT_NAME" value="" />
217
+      <option name="PM_INSTALL_OPTIONS" value="" />
218
+      <option name="ACTIVITY_EXTRA_FLAGS" value="" />
219
+      <option name="MODE" value="default_activity" />
220
+      <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
221
+      <option name="PREFERRED_AVD" value="" />
222
+      <option name="CLEAR_LOGCAT" value="false" />
223
+      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
224
+      <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
225
+      <option name="FORCE_STOP_RUNNING_APP" value="true" />
226
+      <option name="DEBUGGER_TYPE" value="Java" />
227
+      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
228
+      <option name="PREFERRED_AVD" value="" />
229
+      <Java />
230
+      <Profilers>
231
+        <option name="ENABLE_ADVANCED_PROFILING" value="true" />
232
+        <option name="GAPID_ENABLED" value="false" />
233
+        <option name="GAPID_DISABLE_PCS" value="false" />
234
+        <option name="SUPPORT_LIB_ENABLED" value="true" />
235
+        <option name="INSTRUMENTATION_ENABLED" value="true" />
236
+      </Profilers>
237
+      <option name="DEEP_LINK" value="" />
238
+      <option name="ACTIVITY_CLASS" value="" />
239
+      <method />
240
+    </configuration>
241
+    <configuration default="true" type="AndroidTestRunConfigurationType" factoryName="Android Tests">
242
+      <module name="" />
243
+      <option name="TESTING_TYPE" value="0" />
244
+      <option name="INSTRUMENTATION_RUNNER_CLASS" value="" />
245
+      <option name="METHOD_NAME" value="" />
246
+      <option name="CLASS_NAME" value="" />
247
+      <option name="PACKAGE_NAME" value="" />
248
+      <option name="EXTRA_OPTIONS" value="" />
249
+      <option name="TARGET_SELECTION_MODE" value="SHOW_DIALOG" />
250
+      <option name="PREFERRED_AVD" value="" />
251
+      <option name="CLEAR_LOGCAT" value="false" />
252
+      <option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
253
+      <option name="SKIP_NOOP_APK_INSTALLATIONS" value="true" />
254
+      <option name="FORCE_STOP_RUNNING_APP" value="true" />
255
+      <option name="DEBUGGER_TYPE" value="Java" />
256
+      <option name="USE_LAST_SELECTED_DEVICE" value="false" />
257
+      <option name="PREFERRED_AVD" value="" />
258
+      <Java />
259
+      <Profilers>
260
+        <option name="ENABLE_ADVANCED_PROFILING" value="true" />
261
+        <option name="GAPID_ENABLED" value="false" />
262
+        <option name="GAPID_DISABLE_PCS" value="false" />
263
+        <option name="SUPPORT_LIB_ENABLED" value="true" />
264
+        <option name="INSTRUMENTATION_ENABLED" value="true" />
265
+      </Profilers>
266
+      <method />
267
+    </configuration>
268
+    <configuration default="true" type="Applet" factoryName="Applet">
269
+      <option name="HTML_USED" value="false" />
270
+      <option name="WIDTH" value="400" />
271
+      <option name="HEIGHT" value="300" />
272
+      <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
273
+      <module />
274
+      <method />
275
+    </configuration>
276
+    <configuration default="true" type="Application" factoryName="Application">
277
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
278
+      <option name="MAIN_CLASS_NAME" />
279
+      <option name="VM_PARAMETERS" />
280
+      <option name="PROGRAM_PARAMETERS" />
281
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
282
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
283
+      <option name="ALTERNATIVE_JRE_PATH" />
284
+      <option name="ENABLE_SWING_INSPECTOR" value="false" />
285
+      <option name="ENV_VARIABLES" />
286
+      <option name="PASS_PARENT_ENVS" value="true" />
287
+      <module name="" />
288
+      <envs />
289
+      <method />
290
+    </configuration>
291
+    <configuration default="true" type="GradleRunConfiguration" factoryName="Gradle">
292
+      <ExternalSystemSettings>
293
+        <option name="executionName" />
294
+        <option name="externalProjectPath" />
295
+        <option name="externalSystemIdString" value="GRADLE" />
296
+        <option name="scriptParameters" />
297
+        <option name="taskDescriptions">
298
+          <list />
299
+        </option>
300
+        <option name="taskNames">
301
+          <list />
302
+        </option>
303
+        <option name="vmOptions" />
304
+      </ExternalSystemSettings>
305
+      <method />
306
+    </configuration>
307
+    <configuration default="true" type="JUnit" factoryName="JUnit">
308
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
309
+      <module name="" />
310
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
311
+      <option name="ALTERNATIVE_JRE_PATH" />
312
+      <option name="PACKAGE_NAME" />
313
+      <option name="MAIN_CLASS_NAME" />
314
+      <option name="METHOD_NAME" />
315
+      <option name="TEST_OBJECT" value="class" />
316
+      <option name="VM_PARAMETERS" value="-ea" />
317
+      <option name="PARAMETERS" />
318
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
319
+      <option name="ENV_VARIABLES" />
320
+      <option name="PASS_PARENT_ENVS" value="true" />
321
+      <option name="TEST_SEARCH_SCOPE">
322
+        <value defaultName="singleModule" />
323
+      </option>
324
+      <envs />
325
+      <patterns />
326
+      <method />
327
+    </configuration>
328
+    <configuration default="true" type="JarApplication" factoryName="JAR Application">
329
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
330
+      <envs />
331
+      <method />
332
+    </configuration>
333
+    <configuration default="true" type="Java Scratch" factoryName="Java Scratch">
334
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
335
+      <option name="SCRATCH_FILE_ID" value="0" />
336
+      <option name="MAIN_CLASS_NAME" />
337
+      <option name="VM_PARAMETERS" />
338
+      <option name="PROGRAM_PARAMETERS" />
339
+      <option name="WORKING_DIRECTORY" />
340
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
341
+      <option name="ALTERNATIVE_JRE_PATH" />
342
+      <option name="ENABLE_SWING_INSPECTOR" value="false" />
343
+      <option name="ENV_VARIABLES" />
344
+      <option name="PASS_PARENT_ENVS" value="true" />
345
+      <module name="" />
346
+      <envs />
347
+      <method />
348
+    </configuration>
349
+    <configuration default="true" type="JetRunConfigurationType" factoryName="Kotlin">
350
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
351
+      <option name="MAIN_CLASS_NAME" />
352
+      <option name="VM_PARAMETERS" />
353
+      <option name="PROGRAM_PARAMETERS" />
354
+      <option name="WORKING_DIRECTORY" />
355
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
356
+      <option name="ALTERNATIVE_JRE_PATH" />
357
+      <option name="PASS_PARENT_ENVS" value="true" />
358
+      <module name="scientific_calculator" />
359
+      <envs />
360
+      <method />
361
+    </configuration>
362
+    <configuration default="true" type="KotlinStandaloneScriptRunConfigurationType" factoryName="Kotlin script">
363
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
364
+      <option name="filePath" />
365
+      <option name="vmParameters" />
366
+      <option name="alternativeJrePath" />
367
+      <option name="programParameters" />
368
+      <option name="passParentEnvs" value="true" />
369
+      <option name="workingDirectory" />
370
+      <option name="isAlternativeJrePathEnabled" value="false" />
371
+      <envs />
372
+      <method />
373
+    </configuration>
374
+    <configuration default="true" type="Remote" factoryName="Remote">
375
+      <option name="USE_SOCKET_TRANSPORT" value="true" />
376
+      <option name="SERVER_MODE" value="false" />
377
+      <option name="SHMEM_ADDRESS" value="javadebug" />
378
+      <option name="HOST" value="localhost" />
379
+      <option name="PORT" value="5005" />
380
+      <method />
381
+    </configuration>
382
+    <configuration default="true" type="TestNG" factoryName="TestNG">
383
+      <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
384
+      <module name="" />
385
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
386
+      <option name="ALTERNATIVE_JRE_PATH" />
387
+      <option name="SUITE_NAME" />
388
+      <option name="PACKAGE_NAME" />
389
+      <option name="MAIN_CLASS_NAME" />
390
+      <option name="METHOD_NAME" />
391
+      <option name="GROUP_NAME" />
392
+      <option name="TEST_OBJECT" value="CLASS" />
393
+      <option name="VM_PARAMETERS" value="-ea" />
394
+      <option name="PARAMETERS" />
395
+      <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
396
+      <option name="OUTPUT_DIRECTORY" />
397
+      <option name="ANNOTATION_TYPE" />
398
+      <option name="ENV_VARIABLES" />
399
+      <option name="PASS_PARENT_ENVS" value="true" />
400
+      <option name="TEST_SEARCH_SCOPE">
401
+        <value defaultName="singleModule" />
402
+      </option>
403
+      <option name="USE_DEFAULT_REPORTERS" value="false" />
404
+      <option name="PROPERTIES_FILE" />
405
+      <envs />
406
+      <properties />
407
+      <listeners />
408
+      <method />
409
+    </configuration>
410
+    <configuration default="true" type="executeSpecs" factoryName="Gauge Execution">
411
+      <setting name="environment" value="" />
412
+      <setting name="specsToExecute" value="" />
413
+      <setting name="tags" value="" />
414
+      <setting name="parallelNodes" value="" />
415
+      <setting name="execInParallel" value="false" />
416
+      <setting name="programParameters" value="" />
417
+      <setting name="workingDirectory" value="" />
418
+      <setting name="moduleName" value="" />
419
+      <envMap />
420
+      <setting name="rowsRange" value="" />
421
+      <method />
422
+    </configuration>
423
+    <list size="1">
424
+      <item index="0" class="java.lang.String" itemvalue="Application.MainApplication" />
425
+    </list>
426
+    <recent_temporary>
427
+      <list size="1">
428
+        <item index="0" class="java.lang.String" itemvalue="Application.MainApplication" />
429
+      </list>
430
+    </recent_temporary>
431
+  </component>
432
+  <component name="ShelveChangesManager" show_recycled="false">
433
+    <option name="remove_strategy" value="false" />
434
+  </component>
435
+  <component name="TaskManager">
436
+    <task active="true" id="Default" summary="Default task">
437
+      <changelist id="2198802b-d4ec-4041-8e1d-7aeccbb96f0d" name="Default" comment="" />
438
+      <created>1518203351570</created>
439
+      <option name="number" value="Default" />
440
+      <option name="presentableId" value="Default" />
441
+      <updated>1518203351570</updated>
442
+    </task>
443
+    <servers />
444
+  </component>
445
+  <component name="ToolWindowManager">
446
+    <frame x="1772" y="113" width="1440" height="873" extended-state="0" />
447
+    <layout>
448
+      <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
449
+      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
450
+      <window_info id="Nl-Palette" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
451
+      <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3290653" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
452
+      <window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
453
+      <window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
454
+      <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
455
+      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
456
+      <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
457
+      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3290653" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
458
+      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
459
+      <window_info id="Properties" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
460
+      <window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3290653" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
461
+      <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
462
+      <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
463
+      <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24964234" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
464
+      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
465
+      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
466
+      <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
467
+      <window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
468
+      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
469
+      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
470
+      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
471
+      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
472
+      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
473
+      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
474
+      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
475
+      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
476
+    </layout>
477
+  </component>
478
+  <component name="VcsContentAnnotationSettings">
479
+    <option name="myLimit" value="2678400000" />
480
+  </component>
481
+  <component name="XDebuggerManager">
482
+    <breakpoint-manager />
483
+    <watches-manager />
484
+  </component>
485
+  <component name="antWorkspaceConfiguration">
486
+    <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
487
+    <option name="FILTER_TARGETS" value="false" />
488
+  </component>
489
+  <component name="editorHistoryManager">
490
+    <entry file="file://$PROJECT_DIR$/pom.xml">
491
+      <provider selected="true" editor-type-id="text-editor">
492
+        <state relative-caret-position="0">
493
+          <caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
494
+          <folding />
495
+        </state>
496
+      </provider>
497
+    </entry>
498
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/scientific_calculator.java">
499
+      <provider selected="true" editor-type-id="text-editor">
500
+        <state relative-caret-position="75">
501
+          <caret line="5" column="34" lean-forward="false" selection-start-line="5" selection-start-column="34" selection-end-line="5" selection-end-column="34" />
502
+          <folding />
503
+        </state>
504
+      </provider>
505
+    </entry>
506
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/scientificcalculator/MainApplication.java">
507
+      <provider selected="true" editor-type-id="text-editor">
508
+        <state relative-caret-position="225">
509
+          <caret line="15" column="5" lean-forward="true" selection-start-line="15" selection-start-column="5" selection-end-line="15" selection-end-column="5" />
510
+          <folding />
511
+        </state>
512
+      </provider>
513
+    </entry>
514
+    <entry file="file://$PROJECT_DIR$/src/main/java/com/zipcodewilmington/scientificcalculator/Console.java">
515
+      <provider selected="true" editor-type-id="text-editor">
516
+        <state relative-caret-position="360">
517
+          <caret line="24" column="58" lean-forward="true" selection-start-line="24" selection-start-column="58" selection-end-line="24" selection-end-column="58" />
518
+          <folding />
519
+        </state>
520
+      </provider>
521
+    </entry>
522
+  </component>
523
+</project>

+ 12
- 0
pom.xml Просмотреть файл

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project xmlns="http://maven.apache.org/POM/4.0.0"
3
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5
+    <modelVersion>4.0.0</modelVersion>
6
+
7
+    <groupId>com.zipcodewilmington</groupId>
8
+    <artifactId>scientific_calculator</artifactId>
9
+    <version>1.0-SNAPSHOT</version>
10
+
11
+
12
+</project>

+ 15
- 0
scientific_calculator.iml Просмотреть файл

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5">
4
+    <output url="file://$MODULE_DIR$/target/classes" />
5
+    <output-test url="file://$MODULE_DIR$/target/test-classes" />
6
+    <content url="file://$MODULE_DIR$">
7
+      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
8
+      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
9
+      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
10
+      <excludeFolder url="file://$MODULE_DIR$/target" />
11
+    </content>
12
+    <orderEntry type="inheritedJdk" />
13
+    <orderEntry type="sourceFolder" forTests="false" />
14
+  </component>
15
+</module>

+ 32
- 0
src/main/java/com/zipcodewilmington/scientificcalculator/Console.java Просмотреть файл

1
+package com.zipcodewilmington.scientificcalculator;
2
+
3
+import java.util.Scanner;
4
+
5
+/**
6
+ * Created by leon on 2/9/18.
7
+ */
8
+public class Console {
9
+
10
+    public static void print(String output, Object... args) {
11
+        System.out.printf(output, args);
12
+    }
13
+
14
+    public static void println(String output, Object... args) {
15
+        print(output + "\n", args);
16
+    }
17
+
18
+    public static String getStringInput(String prompt) {
19
+        Scanner scanner = new Scanner(System.in);
20
+        println(prompt);
21
+        String userInput = scanner.nextLine();
22
+        return userInput;
23
+    }
24
+
25
+    public static Integer getIntegerInput(String prompt) {
26
+        return null;
27
+    }
28
+
29
+    public static Double getDoubleInput(String prompt) {
30
+        return null;
31
+    }
32
+}

+ 17
- 0
src/main/java/com/zipcodewilmington/scientificcalculator/MainApplication.java Просмотреть файл

1
+package com.zipcodewilmington.scientificcalculator;
2
+
3
+/**
4
+ * Created by leon on 2/9/18.
5
+ */
6
+public class MainApplication {
7
+    public static void main(String[] args) {
8
+        Console.println("Welcome to my calculator!");
9
+        String s = Console.getStringInput("Enter a string");
10
+        Integer i = Console.getIntegerInput("Enter an integer");
11
+        Double d = Console.getDoubleInput("Enter a double.");
12
+
13
+        Console.println("The user input %s as a string", s);
14
+        Console.println("The user input %s as a integer", i);
15
+        Console.println("The user input %s as a d", d);
16
+    }
17
+}

Двоичные данные
target/classes/com/zipcodewilmington/scientificcalculator/Console.class Просмотреть файл


Двоичные данные
target/classes/com/zipcodewilmington/scientificcalculator/MainApplication.class Просмотреть файл