#4 good stuff @rjsmall

Öppen
rjsmall90 vill sammanfoga 1 incheckningar från s[2]s in i master

Binär
.DS_Store Visa fil


+ 1
- 0
.idea/.name Visa fil

@@ -0,0 +1 @@
1
+Saturday Exercises

+ 6
- 0
.idea/misc.xml Visa fil

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
4
+    <output url="file://$PROJECT_DIR$/out" />
5
+  </component>
6
+</project>

+ 8
- 0
.idea/modules.xml Visa fil

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

+ 6
- 0
.idea/vcs.xml Visa fil

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="" vcs="Git" />
5
+  </component>
6
+</project>

+ 283
- 0
.idea/workspace.xml Visa fil

@@ -0,0 +1,283 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="c57af0fa-cba6-4eaf-b785-5493174a5a87" name="Default" comment="">
5
+      <change afterPath="$PROJECT_DIR$/SaturdayPractice" afterDir="false" />
6
+    </list>
7
+    <ignored path="$PROJECT_DIR$/out/" />
8
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9
+    <option name="TRACKING_ENABLED" value="true" />
10
+    <option name="SHOW_DIALOG" value="false" />
11
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
12
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
13
+    <option name="LAST_RESOLUTION" value="IGNORE" />
14
+  </component>
15
+  <component name="FileEditorManager">
16
+    <leaf>
17
+      <file leaf-file-name="SaturdayPractice" pinned="false" current-in-tab="true">
18
+        <entry file="file://$PROJECT_DIR$/SaturdayPractice">
19
+          <provider selected="true" editor-type-id="text-editor">
20
+            <state relative-caret-position="360">
21
+              <caret line="24" column="38" lean-forward="true" selection-end-line="48" />
22
+              <folding>
23
+                <element signature="imports" expanded="true" />
24
+              </folding>
25
+            </state>
26
+          </provider>
27
+        </entry>
28
+      </file>
29
+    </leaf>
30
+  </component>
31
+  <component name="Git.Settings">
32
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
33
+  </component>
34
+  <component name="IdeDocumentHistory">
35
+    <option name="CHANGED_PATHS">
36
+      <list>
37
+        <option value="$PROJECT_DIR$/SaturdayPractice" />
38
+      </list>
39
+    </option>
40
+  </component>
41
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
42
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
43
+  <component name="JsGulpfileManager">
44
+    <detection-done>true</detection-done>
45
+    <sorting>DEFINITION_ORDER</sorting>
46
+  </component>
47
+  <component name="NodePackageJsonFileManager">
48
+    <packageJsonPaths />
49
+  </component>
50
+  <component name="ProjectFrameBounds" extendedState="6">
51
+    <option name="x" value="42" />
52
+    <option name="y" value="23" />
53
+    <option name="width" value="1278" />
54
+    <option name="height" value="722" />
55
+  </component>
56
+  <component name="ProjectView">
57
+    <navigator proportions="" version="1">
58
+      <foldersAlwaysOnTop value="true" />
59
+    </navigator>
60
+    <panes>
61
+      <pane id="Scope" />
62
+      <pane id="AndroidView" />
63
+      <pane id="ProjectPane">
64
+        <subPane>
65
+          <expand>
66
+            <path>
67
+              <item name="Saturday Exercises" type="b2602c69:ProjectViewProjectNode" />
68
+              <item name="Saturday-Exercises" type="462c0819:PsiDirectoryNode" />
69
+            </path>
70
+          </expand>
71
+          <select />
72
+        </subPane>
73
+      </pane>
74
+      <pane id="PackagesPane" />
75
+    </panes>
76
+  </component>
77
+  <component name="PropertiesComponent">
78
+    <property name="WebServerToolWindowFactoryState" value="false" />
79
+    <property name="aspect.path.notification.shown" value="true" />
80
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
81
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
82
+    <property name="project.structure.last.edited" value="Modules" />
83
+    <property name="project.structure.proportion" value="0.15" />
84
+    <property name="project.structure.side.proportion" value="0.2" />
85
+  </component>
86
+  <component name="RunDashboard">
87
+    <option name="ruleStates">
88
+      <list>
89
+        <RuleState>
90
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
91
+        </RuleState>
92
+        <RuleState>
93
+          <option name="name" value="StatusDashboardGroupingRule" />
94
+        </RuleState>
95
+      </list>
96
+    </option>
97
+  </component>
98
+  <component name="RunManager">
99
+    <configuration default="true" type="Application" factoryName="Application">
100
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
101
+    </configuration>
102
+    <configuration default="true" type="JUnit" factoryName="JUnit">
103
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
104
+      <option name="ALTERNATIVE_JRE_PATH" />
105
+      <option name="PACKAGE_NAME" />
106
+      <option name="MAIN_CLASS_NAME" />
107
+      <option name="METHOD_NAME" />
108
+      <option name="TEST_OBJECT" value="class" />
109
+      <option name="VM_PARAMETERS" value="-ea" />
110
+      <option name="PARAMETERS" />
111
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
112
+      <option name="PASS_PARENT_ENVS" value="true" />
113
+      <option name="TEST_SEARCH_SCOPE">
114
+        <value defaultName="singleModule" />
115
+      </option>
116
+      <patterns />
117
+    </configuration>
118
+    <configuration default="true" type="TestNG" factoryName="TestNG">
119
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
120
+      <option name="ALTERNATIVE_JRE_PATH" />
121
+      <option name="SUITE_NAME" />
122
+      <option name="PACKAGE_NAME" />
123
+      <option name="MAIN_CLASS_NAME" />
124
+      <option name="METHOD_NAME" />
125
+      <option name="GROUP_NAME" />
126
+      <option name="TEST_OBJECT" value="CLASS" />
127
+      <option name="VM_PARAMETERS" value="-ea" />
128
+      <option name="PARAMETERS" />
129
+      <option name="WORKING_DIRECTORY" value="%MODULE_WORKING_DIR%" />
130
+      <option name="OUTPUT_DIRECTORY" />
131
+      <option name="PASS_PARENT_ENVS" value="true" />
132
+      <option name="TEST_SEARCH_SCOPE">
133
+        <value defaultName="singleModule" />
134
+      </option>
135
+      <option name="USE_DEFAULT_REPORTERS" value="false" />
136
+      <option name="PROPERTIES_FILE" />
137
+      <properties />
138
+      <listeners />
139
+    </configuration>
140
+  </component>
141
+  <component name="SvnConfiguration">
142
+    <configuration />
143
+  </component>
144
+  <component name="TaskManager">
145
+    <task active="true" id="Default" summary="Default task">
146
+      <changelist id="c57af0fa-cba6-4eaf-b785-5493174a5a87" name="Default" comment="" />
147
+      <created>1528322346053</created>
148
+      <option name="number" value="Default" />
149
+      <option name="presentableId" value="Default" />
150
+      <updated>1528322346053</updated>
151
+      <workItem from="1528322349942" duration="2415000" />
152
+    </task>
153
+    <servers />
154
+  </component>
155
+  <component name="TimeTrackingManager">
156
+    <option name="totallyTimeSpent" value="2415000" />
157
+  </component>
158
+  <component name="ToolWindowManager">
159
+    <frame x="0" y="23" width="1280" height="726" extended-state="6" />
160
+    <layout>
161
+      <window_info anchor="right" id="Palette" />
162
+      <window_info anchor="bottom" id="TODO" order="6" />
163
+      <window_info anchor="bottom" id="Messages" />
164
+      <window_info anchor="right" id="Palette&#9;" />
165
+      <window_info id="Image Layers" />
166
+      <window_info anchor="right" id="Capture Analysis" />
167
+      <window_info anchor="bottom" id="Event Log" side_tool="true" />
168
+      <window_info anchor="right" id="Maven Projects" />
169
+      <window_info anchor="bottom" id="Database Changes" show_stripe_button="false" />
170
+      <window_info anchor="bottom" id="Version Control" />
171
+      <window_info anchor="bottom" id="Run" order="2" />
172
+      <window_info anchor="bottom" id="Terminal" />
173
+      <window_info id="Capture Tool" />
174
+      <window_info id="Designer" />
175
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.24609375" />
176
+      <window_info anchor="right" id="Database" />
177
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
178
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
179
+      <window_info id="UI Designer" />
180
+      <window_info anchor="right" id="Theme Preview" />
181
+      <window_info id="Favorites" side_tool="true" />
182
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
183
+      <window_info anchor="bottom" id="Find" order="1" />
184
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
185
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
186
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
187
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
188
+      <window_info anchor="bottom" id="Message" order="0" />
189
+    </layout>
190
+  </component>
191
+  <component name="TypeScriptGeneratedFilesManager">
192
+    <option name="version" value="1" />
193
+  </component>
194
+  <component name="VcsContentAnnotationSettings">
195
+    <option name="myLimit" value="2678400000" />
196
+  </component>
197
+  <component name="editorHistoryManager">
198
+    <entry file="file://$PROJECT_DIR$/SaturdayPractice">
199
+      <provider selected="true" editor-type-id="text-editor">
200
+        <state relative-caret-position="360">
201
+          <caret line="24" column="38" lean-forward="true" selection-end-line="48" />
202
+          <folding>
203
+            <element signature="imports" expanded="true" />
204
+          </folding>
205
+        </state>
206
+      </provider>
207
+    </entry>
208
+  </component>
209
+  <component name="masterDetails">
210
+    <states>
211
+      <state key="ArtifactsStructureConfigurable.UI">
212
+        <settings>
213
+          <artifact-editor />
214
+          <splitter-proportions>
215
+            <option name="proportions">
216
+              <list>
217
+                <option value="0.2" />
218
+              </list>
219
+            </option>
220
+          </splitter-proportions>
221
+        </settings>
222
+      </state>
223
+      <state key="FacetStructureConfigurable.UI">
224
+        <settings>
225
+          <last-edited>No facets are configured</last-edited>
226
+          <splitter-proportions>
227
+            <option name="proportions">
228
+              <list>
229
+                <option value="0.2" />
230
+              </list>
231
+            </option>
232
+          </splitter-proportions>
233
+        </settings>
234
+      </state>
235
+      <state key="GlobalLibrariesConfigurable.UI">
236
+        <settings>
237
+          <splitter-proportions>
238
+            <option name="proportions">
239
+              <list>
240
+                <option value="0.2" />
241
+              </list>
242
+            </option>
243
+          </splitter-proportions>
244
+        </settings>
245
+      </state>
246
+      <state key="JdkListConfigurable.UI">
247
+        <settings>
248
+          <last-edited>1.8</last-edited>
249
+          <splitter-proportions>
250
+            <option name="proportions">
251
+              <list>
252
+                <option value="0.2" />
253
+              </list>
254
+            </option>
255
+          </splitter-proportions>
256
+        </settings>
257
+      </state>
258
+      <state key="ModuleStructureConfigurable.UI">
259
+        <settings>
260
+          <last-edited>Saturday-Exercises</last-edited>
261
+          <splitter-proportions>
262
+            <option name="proportions">
263
+              <list>
264
+                <option value="0.2" />
265
+              </list>
266
+            </option>
267
+          </splitter-proportions>
268
+        </settings>
269
+      </state>
270
+      <state key="ProjectLibrariesConfigurable.UI">
271
+        <settings>
272
+          <splitter-proportions>
273
+            <option name="proportions">
274
+              <list>
275
+                <option value="0.2" />
276
+              </list>
277
+            </option>
278
+          </splitter-proportions>
279
+        </settings>
280
+      </state>
281
+    </states>
282
+  </component>
283
+</project>

+ 11
- 0
Saturday-Exercises.iml Visa fil

@@ -0,0 +1,11 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$">
6
+      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
7
+    </content>
8
+    <orderEntry type="inheritedJdk" />
9
+    <orderEntry type="sourceFolder" forTests="false" />
10
+  </component>
11
+</module>

+ 48
- 0
SaturdayPractice Visa fil

@@ -0,0 +1,48 @@
1
+import org.junit.Assert;
2
+import org.junit.Test;
3
+
4
+public Class SaturdayPracticeTest(){
5
+        SaturdayPractice sp=new SaturdayPractice();
6
+
7
+
8
+public void videoGameTest(){
9
+        Object expectedPlayer="Ryan"
10
+        Object actualPlayer = SaturdayPractice.videoGame(player))
11
+        Assert.assertEquals(expectedPlayer, actualPlayer);
12
+        }
13
+
14
+        }
15
+
16
+
17
+
18
+public class SaturdayPractice(){
19
+
20
+    public static void boolean isAlive(){}
21
+    public static String displayGameOver(Object x){
22
+        System.out.print("Game OVERRR");
23
+        }
24
+    public static void heatOn(int x){}
25
+    public static void coldOn(int x){}
26
+    public static void outsideTemp(int x){}
27
+    public static void insideTemp(int x){}
28
+    public static String startAFire(Object x){
29
+        System.out.print("fffWWOOOOOSHH!!");
30
+        }
31
+    public static void refuel(double x){}
32
+        public boolean videoGame(Object player1){
33
+            if(!player1.isAlive() return displayGameOver(player1)+"!";
34
+        }
35
+        public boolean temperature(Object room){
36
+            if(room<=70) return heatOn();
37
+                else return coldOn();
38
+        }
39
+        public boolean insideOutside(Object fireplace1){
40
+            if(outsideTemp()<50 && insideTemp()<62) return startAFire();
41
+
42
+        public boolean gasGauge(double fuelLevel){
43
+            if(fuelLevel<0.08) return refuel();
44
+        }
45
+        }
46
+        }
47
+        }
48
+

Binär
src/settings.jar Visa fil


+ 23
- 0
untitled/.idea/compiler.xml Visa fil

@@ -0,0 +1,23 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="CompilerConfiguration">
4
+    <option name="DEFAULT_COMPILER" value="Javac" />
5
+    <resourceExtensions />
6
+    <wildcardResourcePatterns>
7
+      <entry name="!?*.java" />
8
+      <entry name="!?*.form" />
9
+      <entry name="!?*.class" />
10
+      <entry name="!?*.groovy" />
11
+      <entry name="!?*.scala" />
12
+      <entry name="!?*.flex" />
13
+      <entry name="!?*.kt" />
14
+      <entry name="!?*.clj" />
15
+    </wildcardResourcePatterns>
16
+    <annotationProcessing>
17
+      <profile default="true" name="Default" enabled="false">
18
+        <processorPath useClasspath="true" />
19
+      </profile>
20
+    </annotationProcessing>
21
+  </component>
22
+</project>
23
+

+ 1
- 0
untitled/.idea/description.html Visa fil

@@ -0,0 +1 @@
1
+<html>Simple <b>Java</b> application that includes a class with <code>main()</code> method</html>

+ 5
- 0
untitled/.idea/encodings.xml Visa fil

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+</project>
5
+

+ 9
- 0
untitled/.idea/misc.xml Visa fil

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectKey">
4
+    <option name="state" value="project://63537948-39a4-48a0-9c97-34259a0fa913" />
5
+  </component>
6
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8 (1)" project-jdk-type="JavaSDK">
7
+    <output url="file://$PROJECT_DIR$/../Saturday-Exercises/untitled/out" />
8
+  </component>
9
+</project>

+ 8
- 0
untitled/.idea/modules.xml Visa fil

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

+ 7
- 0
untitled/.idea/vcs.xml Visa fil

@@ -0,0 +1,7 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="" vcs="" />
5
+  </component>
6
+</project>
7
+

+ 225
- 0
untitled/.idea/workspace.xml Visa fil

@@ -0,0 +1,225 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="1ae2a81c-29bb-4590-97d7-3ade2c4540a2" name="Default" comment="" />
5
+    <ignored path="$PROJECT_DIR$/out/" />
6
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
7
+    <option name="TRACKING_ENABLED" value="true" />
8
+    <option name="SHOW_DIALOG" value="false" />
9
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
+    <option name="LAST_RESOLUTION" value="IGNORE" />
12
+  </component>
13
+  <component name="DockManager">
14
+    <window id="1">
15
+      <content type="file-editors">
16
+        <state>
17
+          <leaf>
18
+            <file leaf-file-name="SaturdayPractice1.java" pinned="false" current-in-tab="true">
19
+              <entry file="file://$PROJECT_DIR$/../Saturday-Exercises/untitled/src/SaturdayPractice1.java">
20
+                <provider selected="true" editor-type-id="text-editor">
21
+                  <state relative-caret-position="15">
22
+                    <caret line="1" selection-start-line="1" selection-end-line="1" />
23
+                  </state>
24
+                </provider>
25
+              </entry>
26
+            </file>
27
+          </leaf>
28
+        </state>
29
+      </content>
30
+    </window>
31
+  </component>
32
+  <component name="FileEditorManager">
33
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
34
+      <file leaf-file-name="SaturdayPractice2.java" pinned="false" current-in-tab="true">
35
+        <entry file="file://$APPLICATION_CONFIG_DIR$/scratches/SaturdayPractice2.java">
36
+          <provider selected="true" editor-type-id="text-editor">
37
+            <state relative-caret-position="212">
38
+              <caret line="21" column="33" selection-start-line="21" selection-start-column="33" selection-end-line="21" selection-end-column="33" />
39
+            </state>
40
+          </provider>
41
+        </entry>
42
+      </file>
43
+    </leaf>
44
+  </component>
45
+  <component name="IdeDocumentHistory">
46
+    <option name="CHANGED_PATHS">
47
+      <list>
48
+        <option value="$PROJECT_DIR$/src/Main.java" />
49
+        <option value="$PROJECT_DIR$/src/SaturdayPractice.java" />
50
+        <option value="$PROJECT_DIR$/src/SaturdayPractice1.java" />
51
+        <option value="$APPLICATION_CONFIG_DIR$/scratches/SaturdayPractice2.java" />
52
+      </list>
53
+    </option>
54
+  </component>
55
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
56
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
57
+  <component name="JsGulpfileManager">
58
+    <detection-done>true</detection-done>
59
+    <sorting>DEFINITION_ORDER</sorting>
60
+  </component>
61
+  <component name="NodePackageJsonFileManager">
62
+    <packageJsonPaths />
63
+  </component>
64
+  <component name="ProjectFrameBounds" extendedState="6">
65
+    <option name="x" value="42" />
66
+    <option name="y" value="23" />
67
+    <option name="width" value="1278" />
68
+    <option name="height" value="722" />
69
+  </component>
70
+  <component name="ProjectView">
71
+    <navigator proportions="" version="1">
72
+      <foldersAlwaysOnTop value="true" />
73
+    </navigator>
74
+    <panes>
75
+      <pane id="ProjectPane">
76
+        <subPane>
77
+          <expand>
78
+            <path>
79
+              <item name="untitled" type="b2602c69:ProjectViewProjectNode" />
80
+              <item name="untitled" type="462c0819:PsiDirectoryNode" />
81
+            </path>
82
+            <path>
83
+              <item name="untitled" type="b2602c69:ProjectViewProjectNode" />
84
+              <item name="untitled" type="462c0819:PsiDirectoryNode" />
85
+              <item name="out" type="462c0819:PsiDirectoryNode" />
86
+            </path>
87
+            <path>
88
+              <item name="untitled" type="b2602c69:ProjectViewProjectNode" />
89
+              <item name="untitled" type="462c0819:PsiDirectoryNode" />
90
+              <item name="src" type="462c0819:PsiDirectoryNode" />
91
+            </path>
92
+          </expand>
93
+          <select />
94
+        </subPane>
95
+      </pane>
96
+      <pane id="AndroidView" />
97
+      <pane id="PackagesPane" />
98
+      <pane id="Scope" />
99
+    </panes>
100
+  </component>
101
+  <component name="PropertiesComponent">
102
+    <property name="WebServerToolWindowFactoryState" value="false" />
103
+    <property name="aspect.path.notification.shown" value="true" />
104
+    <property name="com.intellij.ide.scratch.LRUPopupBuilder$1/New Scratch File" value="JAVA" />
105
+  </component>
106
+  <component name="RecentsManager">
107
+    <key name="MoveFile.RECENT_KEYS">
108
+      <recent name="$PROJECT_DIR$/../Saturday-Exercises" />
109
+    </key>
110
+  </component>
111
+  <component name="RunDashboard">
112
+    <option name="ruleStates">
113
+      <list>
114
+        <RuleState>
115
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
116
+        </RuleState>
117
+        <RuleState>
118
+          <option name="name" value="StatusDashboardGroupingRule" />
119
+        </RuleState>
120
+      </list>
121
+    </option>
122
+  </component>
123
+  <component name="RunManager">
124
+    <configuration name="Main" type="Application" factoryName="Application" temporary="true">
125
+      <option name="MAIN_CLASS_NAME" value="Main" />
126
+      <module name="Saturday Exercises" />
127
+      <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
128
+      <RunnerSettings RunnerId="Run" />
129
+      <ConfigurationWrapper RunnerId="Run" />
130
+    </configuration>
131
+    <recent_temporary>
132
+      <list>
133
+        <item itemvalue="Application.Main" />
134
+      </list>
135
+    </recent_temporary>
136
+  </component>
137
+  <component name="SvnConfiguration">
138
+    <configuration />
139
+  </component>
140
+  <component name="TaskManager">
141
+    <task active="true" id="Default" summary="Default task">
142
+      <changelist id="1ae2a81c-29bb-4590-97d7-3ade2c4540a2" name="Default" comment="" />
143
+      <created>1528324897418</created>
144
+      <option name="number" value="Default" />
145
+      <option name="presentableId" value="Default" />
146
+      <updated>1528324897418</updated>
147
+      <workItem from="1528324902513" duration="3813000" />
148
+    </task>
149
+    <servers />
150
+  </component>
151
+  <component name="TimeTrackingManager">
152
+    <option name="totallyTimeSpent" value="3813000" />
153
+  </component>
154
+  <component name="ToolWindowManager">
155
+    <frame x="0" y="23" width="1280" height="726" extended-state="6" />
156
+    <editor active="true" />
157
+    <layout>
158
+      <window_info anchor="right" id="Palette" order="5" />
159
+      <window_info anchor="bottom" id="TODO" order="11" />
160
+      <window_info anchor="bottom" id="Messages" order="4" weight="0.3297546" />
161
+      <window_info anchor="right" id="Palette&#9;" order="1" />
162
+      <window_info id="Image Layers" order="4" />
163
+      <window_info anchor="right" id="Capture Analysis" order="0" />
164
+      <window_info anchor="bottom" id="Event Log" order="2" side_tool="true" />
165
+      <window_info anchor="right" id="Maven Projects" order="4" />
166
+      <window_info anchor="bottom" id="Database Changes" order="0" show_stripe_button="false" />
167
+      <window_info anchor="bottom" id="Run" order="7" weight="0.3297546" />
168
+      <window_info anchor="bottom" id="Version Control" order="3" show_stripe_button="false" />
169
+      <window_info anchor="bottom" id="Terminal" order="1" />
170
+      <window_info id="Capture Tool" order="2" />
171
+      <window_info id="Designer" order="0" />
172
+      <window_info active="true" content_ui="combo" id="Project" order="5" visible="true" weight="0.25" />
173
+      <window_info anchor="right" id="Database" order="3" />
174
+      <window_info anchor="bottom" id="Find" order="6" />
175
+      <window_info id="Structure" order="6" side_tool="true" weight="0.25" />
176
+      <window_info anchor="right" id="Ant Build" order="7" weight="0.25" />
177
+      <window_info id="UI Designer" order="1" />
178
+      <window_info anchor="right" id="Theme Preview" order="2" />
179
+      <window_info anchor="bottom" id="Debug" order="8" weight="0.398773" />
180
+      <window_info id="Favorites" order="3" side_tool="true" />
181
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="6" type="SLIDING" weight="0.4" />
182
+      <window_info anchor="bottom" id="Inspection" order="10" weight="0.4" />
183
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="8" weight="0.25" />
184
+      <window_info anchor="bottom" id="Cvs" order="9" weight="0.25" />
185
+      <window_info anchor="bottom" id="Message" order="5" />
186
+    </layout>
187
+  </component>
188
+  <component name="TypeScriptGeneratedFilesManager">
189
+    <option name="version" value="1" />
190
+  </component>
191
+  <component name="VcsContentAnnotationSettings">
192
+    <option name="myLimit" value="2678400000" />
193
+  </component>
194
+  <component name="XDebuggerManager">
195
+    <breakpoint-manager>
196
+      <breakpoints>
197
+        <line-breakpoint enabled="true" type="java-line">
198
+          <url>file://$APPLICATION_CONFIG_DIR$/scratches/SaturdayPractice2.java</url>
199
+          <line>6</line>
200
+          <properties />
201
+        </line-breakpoint>
202
+      </breakpoints>
203
+      <option name="time" value="1" />
204
+    </breakpoint-manager>
205
+  </component>
206
+  <component name="editorHistoryManager">
207
+    <entry file="file://$PROJECT_DIR$/../Saturday-Exercises/untitled/Saturday Exercises.iml">
208
+      <provider selected="true" editor-type-id="text-editor" />
209
+    </entry>
210
+    <entry file="file://$PROJECT_DIR$/../Saturday-Exercises/untitled/src/SaturdayPractice1.java">
211
+      <provider selected="true" editor-type-id="text-editor">
212
+        <state relative-caret-position="15">
213
+          <caret line="1" selection-start-line="1" selection-end-line="1" />
214
+        </state>
215
+      </provider>
216
+    </entry>
217
+    <entry file="file://$APPLICATION_CONFIG_DIR$/scratches/SaturdayPractice2.java">
218
+      <provider selected="true" editor-type-id="text-editor">
219
+        <state relative-caret-position="212">
220
+          <caret line="21" column="33" selection-start-line="21" selection-start-column="33" selection-end-line="21" selection-end-column="33" />
221
+        </state>
222
+      </provider>
223
+    </entry>
224
+  </component>
225
+</project>

+ 11
- 0
untitled/Saturday Exercises.iml Visa fil

@@ -0,0 +1,11 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$">
6
+      <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
7
+    </content>
8
+    <orderEntry type="inheritedJdk" />
9
+    <orderEntry type="sourceFolder" forTests="false" />
10
+  </component>
11
+</module>

Binär
untitled/out/production/untitled/SaturdayPractice1.class Visa fil


+ 58
- 0
untitled/src/SaturdayPractice1.java Visa fil

@@ -0,0 +1,58 @@
1
+
2
+class SaturdayPractice1{
3
+
4
+    public static Boolean isAlive(Object x){
5
+        return false;
6
+    }
7
+
8
+    // public static String displayGameOver(Object x){
9
+    // return System.out.print("Game OVERRR");
10
+    // }
11
+    public static String displayGameOver(Object x){
12
+        return (String) x;
13
+    }
14
+
15
+    public static void heatOn(){}
16
+
17
+    public static void coldOn(){}
18
+
19
+    public static int outsideTemp(int x){
20
+        return x;
21
+    }
22
+
23
+    public static int insideTemp(int x){
24
+        return x;
25
+    }
26
+
27
+    public static void startAFire(Object x){
28
+        System.out.print("fffWWOOOOOSHH!!");
29
+    }
30
+
31
+    public static void refuel(){
32
+        System.out.print("Get some gas!");
33
+    }
34
+
35
+    public static void videoGame(Object player1){
36
+        if(isAlive(player1))
37
+            System.out.print(displayGameOver(player1));
38
+    }
39
+
40
+    public static void temperature( Object room, int x){
41
+        if(!room.equals(x)){
42
+            heatOn();
43
+        }
44
+        else {
45
+            coldOn();
46
+        }
47
+    }
48
+
49
+    public static void insideOutside(Object fireplace1, int x, int y){
50
+        if(outsideTemp(x)<x && insideTemp(y)<y)
51
+            startAFire(fireplace1);
52
+    }
53
+
54
+    public static void gasGauge(double fuelLevel){
55
+        if(fuelLevel<0.08) refuel();
56
+    }
57
+
58
+}