Sfoglia il codice sorgente

Nick Satinover 10/21/18 10:35

Nicholas Satinover 6 anni fa
parent
commit
63e5ee417d

+ 49
- 35
WriteIFs.java Vedi File

@@ -7,20 +7,28 @@
7 7
  */
8 8
 public class WriteIFs
9 9
 {
10
- 
10
+
11 11
     public void playerDied(boolean player1) {
12 12
         // Write an IF statement that checks “player1.isAlive()” 
13 13
         // and if that’s false, calls “displayGameOver(player1)”
14
-     
14
+        if(!isAlive(player1))
15
+        {
16
+            displayGameOver(player1);
17
+        }
15 18
     }
16
-    
19
+
17 20
     public String thermoSTAT(int room) {
18 21
         // Write an IF statement that checks the 
19 22
         // “temperature(room)” and if that check is less than 70, 
20 23
         // calls “heatOn()” else calls “coolOn()”
21
-
22
-
23
-        
24
+        if(tempurature(room) < 70)
25
+        {
26
+            heatOn();
27
+        }
28
+        else
29
+        {
30
+            coolOn();
31
+        }
24 32
         return this.ss;
25 33
     }
26 34
 
@@ -30,70 +38,76 @@ public class WriteIFs
30 38
         // AND 
31 39
         // “insideTemp()” is less than 62, 
32 40
         // calls “startAFire(fireplace1)”
33
-
41
+        if(outsideTemp() < 50 && insideTemp() < 62)
42
+        {
43
+            startAFire(fireplace1);
44
+        }
34 45
     }
35 46
 
36 47
     public void checkFuel(double fuelLevel) {
37 48
         // Write an IF statement that checks “fuelLevel” 
38 49
         // and if that check is less than 0.08, calls “refuel()”
39
-
50
+        if(fuelLevel < .08)
51
+        {
52
+            refuel();
53
+        }
40 54
     }
41 55
 
42 56
 
43
-    
57
+     // instance variables
58
+    int x;
59
+    int tt_t;
60
+    int tt_s;
61
+    int oo1, oo2;
62
+    String ss;
63
+
44 64
     /**
45
-     *  Pay no attention to the code below this point.
46
-     * 
47
-     * 
48
-     * instance variables
49
-     * / 
50
-   int x;
51
-   int tt_t;
52
-   int tt_s;
53
-   int oo1, oo2;
54
-   String ss;
55
-
56
-
57
-  /**
58
-   * Constructor for objects of class WriteIFs
59
-   */
60
-  public WriteIFs()
61
-  {
62
-      // initialise instance variables
63
-      x = 0;
64
-      tt_t = 0;
65
-      tt_s = 1;
66
-      ss = "";
67
-      oo1 = 61;
68
-      oo2 = 49;
69
-  }
65
+     * Constructor for objects of class WriteIFs
66
+     */
67
+    public WriteIFs()
68
+    {
69
+        // initialise instance variables
70
+        x = 0;
71
+        tt_t = 0;
72
+        tt_s = 1;
73
+        ss = "";
74
+        oo1 = 61;
75
+        oo2 = 49;
76
+    }
70 77
 
71 78
     // associated routines
72 79
     public boolean isAlive(boolean p) {
73 80
         return !p;
74 81
     }
82
+
75 83
     private int tempurature(int t) {
76 84
         return t+2;
77 85
     }
86
+
78 87
     private void heatOn() {
79 88
         this.ss = "heating";
80 89
     }
90
+
81 91
     private void coolOn() {
82 92
         this.ss = "cooling";
83 93
     }
84
- 
94
+
85 95
     private int insideTemp() {
86 96
         return oo1;
87 97
     }
98
+
88 99
     private int outsideTemp() {
89 100
         return oo2;
90 101
     }
102
+
91 103
     private void startAFire(Object o) {
92 104
         this.tt_s = 213;
93 105
     }
106
+
94 107
     private void refuel() {
95 108
         this.x = 99;
96 109
     }
110
+
97 111
     private void displayGameOver(boolean b) {
98 112
         this.ss = "Game Over!";
99 113
     }

+ 2
- 2
WriteIFsTest.java Vedi File

@@ -95,7 +95,7 @@ public class WriteIFsTest
95 95
         writeIFs1.oo1 = 65;
96 96
         writeIFs1.tt_s = 1;
97 97
         writeIFs1.fireplaceControl(oo);
98
-        assertEquals(213, writeIFs1.tt_s);
98
+        assertEquals(1, writeIFs1.tt_s);
99 99
     }
100 100
     @Test
101 101
     public void TestFireControl3()
@@ -105,7 +105,7 @@ public class WriteIFsTest
105 105
         writeIFs1.oo2 = 80;
106 106
         writeIFs1.tt_s = 1;
107 107
         writeIFs1.fireplaceControl(oo);
108
-        assertEquals(213, writeIFs1.tt_s);
108
+        assertEquals(1, writeIFs1.tt_s);
109 109
     }
110 110
 
111 111
 }

+ 109
- 30
WriteLoops.java Vedi File

@@ -19,8 +19,12 @@ public class WriteLoops {
19 19
         int w = 0;
20 20
 
21 21
         // Write a FOR loop that counts from 1 to 10.
22
+        //assuming 1 to 5
22 23
             // calling
24
+        for(int i = 0; i < 5; i++)
25
+        {
23 26
             w = w + 1;
27
+        }
24 28
             // each time through the loop
25 29
 
26 30
         // this will tell the test how many times the loop executed.
@@ -32,7 +36,10 @@ public class WriteLoops {
32 36
 
33 37
         // Write a FOR loop that counts from 1 to 10.
34 38
         // calling
35
-        w = w + 1;
39
+        for(int i = 0; i < 10; i++)
40
+        {
41
+            w = w + 1;
42
+        }
36 43
         // each time through the loop
37 44
         
38 45
         return w;
@@ -43,7 +50,10 @@ public class WriteLoops {
43 50
 
44 51
         // Write a FOR loop that makes 10 iterations, start at 21.
45 52
         // calling
46
-        w = w + 1;
53
+        for(int i = 21; i <= 31; i++)
54
+        {
55
+            w = w + 1;
56
+        }
47 57
         // each time through the loop
48 58
         
49 59
         return w;
@@ -54,7 +64,10 @@ public class WriteLoops {
54 64
 
55 65
         // Write a FOR loop that counts down from 100 to 0.
56 66
         // calling
57
-        w = w + 1;
67
+        for(int i = 100; i > 0; i--)
68
+        {
69
+            w = w + 1;
70
+        }
58 71
         // each time through the loop
59 72
         
60 73
         return w;
@@ -65,7 +78,10 @@ public class WriteLoops {
65 78
 
66 79
         // Write a FOR loop from 0 to 32 by 2s.
67 80
         // calling
68
-        w = w + 1;
81
+        for(int i = 0; i <= 32; i+= 2)
82
+        {
83
+            w = w + 1;
84
+        }
69 85
         // each time through the loop
70 86
         return w;
71 87
     }
@@ -75,7 +91,10 @@ public class WriteLoops {
75 91
 
76 92
         // Write a FOR loop from 1 to less than 5001 by 11s.
77 93
         // calling
78
-        w = w + 1;
94
+        for(int i = 1; i < 5001; i+= 11)
95
+        {
96
+            w = w + 1;
97
+        }
79 98
         // each time through the loop
80 99
         
81 100
         return w;
@@ -86,8 +105,16 @@ public class WriteLoops {
86 105
 
87 106
         // Write a nested FOR loop(s), where one counts from
88 107
         // 0 to less than 20 and the inner one counts from 0 to 4
89
-                // calling
108
+        for(int i = 0; i < 20; i++)
109
+        {
110
+            for(int x = 0; x <= 4; x++)
111
+            {
90 112
                 w = w + 1;
113
+            }
114
+        }
115
+        
116
+                // calling
117
+                //w = w + 1;
91 118
                 // each time through the inner loop
92 119
 
93 120
         return w;
@@ -100,9 +127,19 @@ public class WriteLoops {
100 127
         // statement inside the loop that checks the
101 128
         // loop index counter and if it’s greater than 51,
102 129
         // prints “Hello Zipcode” instead of the statement w = w + 1;
103
-
104
-                // calling
130
+        for(int i = 5; i <=105; i++)
131
+        {
132
+            if(i > 51)
133
+            {
134
+                System.out.println("Hello Zipcode");
135
+            }
136
+            else
137
+            {
105 138
                 w = w + 1;
139
+            }
140
+        }
141
+                // calling
142
+                // w = w + 1;
106 143
             // each time through the inner loop
107 144
         
108 145
         return w;
@@ -131,14 +168,16 @@ public class WriteLoops {
131 168
     // After the loop is done, print “Honey, I’m Home!”
132 169
     public int driveHome() {
133 170
         int w = 0;
134
-
171
+        while(!gpsCurrentLocation().equals("Home"))
172
+        {
173
+            w = w + 1;
174
+            driveSomeMore();
175
+        }
176
+        System.out.println("Honey, I'm Home!");
135 177
         // you need to use a .equals for two Strings.
136
-
137 178
             // calling
138
-            w = w + 1;
179
+            // w = w + 1;
139 180
             // each time through the inner loop
140
-        
141
-
142 181
             return w;
143 182
     }
144 183
 
@@ -155,10 +194,14 @@ public class WriteLoops {
155 194
         int runningScore = 0;
156 195
 
157 196
         // do your while loop here
158
- 
197
+        while(runningScore < highestScore)
198
+        {
199
+            runningScore += currentScore;
200
+            currentScore = gameNextScore();
159 201
             // calling
160 202
             w = w + 1;
161 203
             // each time through the inner loop
204
+        }
162 205
         
163 206
         return w; // >= 3;
164 207
     }
@@ -172,10 +215,14 @@ public class WriteLoops {
172 215
         int runningScore = 0;
173 216
 
174 217
         // do your while loop here
175
-
218
+        do
219
+        {
220
+            runningScore += currentScore;
221
+            currentScore = gameNextScore();
176 222
             // calling
177 223
             w = w + 1;
178 224
             // each time through the inner loop
225
+        }while(runningScore < highestScore);
179 226
 
180 227
         return w >= 3;
181 228
     }
@@ -188,11 +235,18 @@ public class WriteLoops {
188 235
         int w = 0;
189 236
         String adminPhoneNumber = "+1 202 456 1111";
190 237
         
191
-
192
-        // calling
193
-        w = w + 1;
194
-        // each time through the inner loop
195
-        
238
+        while(serverIsRunning())
239
+        {
240
+            waitFor(5);
241
+            // calling
242
+            w = w + 1;
243
+            // each time through the inner loop
244
+        }
245
+        if(!serverIsRunning())
246
+        {
247
+            sendEmergencyText("Help!", adminPhoneNumber);
248
+            tryServerRestart("Server not Running", adminPhoneNumber);
249
+        }
196 250
         return w;
197 251
     }
198 252
 
@@ -201,18 +255,21 @@ public class WriteLoops {
201 255
     // and if it is, add 7 to “i”
202 256
     public int loop50by7() {
203 257
         int w = 0;
204
-
205
-
258
+        int i = 7;
259
+        
260
+        while(i < 50)
261
+        {
262
+            i += 7;
206 263
             // calling
207 264
             w = w + 1;
208 265
             // each time through the inner loop
209
-        
266
+        }
210 267
         return w;
211 268
     }
212 269
 
213 270
     int[] threes_array = { 3, 6, 9, 12, 15, 18, 21 };
214 271
 
215
-    // Foo is method that add the first 7 factors of three together and prints
272
+    // Foo is method that adds the first 7 factors of three together and prints
216 273
     // out the sum of them all.
217 274
     public int foo() {
218 275
         int w = 0;
@@ -239,10 +296,12 @@ public class WriteLoops {
239 296
         int w = 0;
240 297
         int sumOfThrees = 0;
241 298
 
242
- 
299
+        for (int i = 0; i < threes_array.length; i++) {
300
+            sumOfThrees = sumOfThrees + threes_array[i];
243 301
             // calling
244 302
             w = w + 1;
245 303
             // each time through the inner loop
304
+        }
246 305
         
247 306
         System.out.print("The Sum is ");
248 307
         System.out.println(sumOfThrees);
@@ -256,10 +315,14 @@ public class WriteLoops {
256 315
         int w = 0;
257 316
         int sumOfThrees = 0;
258 317
 
259
- 
318
+        int i = 0;
319
+        while(i < threes_array.length) {
320
+            sumOfThrees = sumOfThrees + threes_array[i];
260 321
             // calling
261 322
             w = w + 1;
262 323
             // each time through the inner loop
324
+            i++;
325
+        }
263 326
         
264 327
         System.out.print("The Sum is ");
265 328
         System.out.println(sumOfThrees);
@@ -277,12 +340,20 @@ public class WriteLoops {
277 340
     public int manageYardAndJunior() {
278 341
         int w = 0;
279 342
         boolean onTime = true;
343
+        boolean yardNeedsMowed = true;
280 344
 
281 345
         // ADD YOUR CODE here.
282
- 
346
+        while(isSummer())
347
+        {
348
+            if(yardNeedsMowed)
349
+            {
350
+                yellAtJuniorToMowLawn();
283 351
             // be sure to call
284 352
             w = w + 1;
285 353
             // each time inside the loop
354
+            }
355
+        }
356
+        sendJuniorBackToSchool("Junior, go back to school.");
286 357
         
287 358
         return w;
288 359
     }
@@ -296,10 +367,13 @@ public class WriteLoops {
296 367
         int w = 0;
297 368
         int numberOfVotes = voteTallies.length;
298 369
 
299
- 
370
+        for(int i = 0; i < numberOfVotes; i++)
371
+        {
372
+            System.out.println(voteTallies[i]);
300 373
             // calling
301 374
             w = w + 1;
302 375
             // each time through the inner loop
376
+        }
303 377
         
304 378
         return w;
305 379
     }
@@ -310,11 +384,16 @@ public class WriteLoops {
310 384
     public int tallyVote2() {
311 385
         int w = 0;
312 386
         int numberOfVotes = voteTallies.length;
313
-
314
-
387
+        
388
+        int idx = 0;
389
+        while(idx < numberOfVotes)
390
+        {
391
+            System.out.println(voteTallies[idx]);
315 392
             // calling
316 393
             w = w + 1;
317 394
             // each time through the inner loop
395
+            idx++;
396
+        }
318 397
         
319 398
         return w;
320 399
     }

+ 1
- 1
WriteLoopsTest.java Vedi File

@@ -71,7 +71,7 @@ public class WriteLoopsTest
71 71
     public void Test2to32()
72 72
     {
73 73
         WriteLoops writeLoo1 = new WriteLoops();
74
-        assertEquals(0, writeLoo1.byTwoTo32());
74
+        assertEquals(17, writeLoo1.byTwoTo32());
75 75
     }
76 76
 
77 77
     @Test

+ 284
- 0
doc/WriteIFsTest.html Vedi File

@@ -0,0 +1,284 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_181) on Sun Oct 21 22:13:11 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>WriteIFsTest</title>
8
+<meta name="date" content="2018-10-21">
9
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10
+<script type="text/javascript" src="script.js"></script>
11
+</head>
12
+<body>
13
+<script type="text/javascript"><!--
14
+    try {
15
+        if (location.href.indexOf('is-external=true') == -1) {
16
+            parent.document.title="WriteIFsTest";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
23
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24
+var altColor = "altColor";
25
+var rowColor = "rowColor";
26
+var tableTab = "tableTab";
27
+var activeTableTab = "activeTableTab";
28
+</script>
29
+<noscript>
30
+<div>JavaScript is disabled on your browser.</div>
31
+</noscript>
32
+<!-- ======== START OF CLASS DATA ======== -->
33
+<div class="header">
34
+<h2 title="Class WriteIFsTest" class="title">Class WriteIFsTest</h2>
35
+</div>
36
+<div class="contentContainer">
37
+<ul class="inheritance">
38
+<li>java.lang.Object</li>
39
+<li>
40
+<ul class="inheritance">
41
+<li>WriteIFsTest</li>
42
+</ul>
43
+</li>
44
+</ul>
45
+<div class="description">
46
+<ul class="blockList">
47
+<li class="blockList">
48
+<hr>
49
+<br>
50
+<pre>public class <span class="typeNameLabel">WriteIFsTest</span>
51
+extends java.lang.Object</pre>
52
+<div class="block">The test class WriteIFsTest.</div>
53
+<dl>
54
+<dt><span class="simpleTagLabel">Version:</span></dt>
55
+<dd>1.2</dd>
56
+<dt><span class="simpleTagLabel">Author:</span></dt>
57
+<dd>kyounger</dd>
58
+</dl>
59
+</li>
60
+</ul>
61
+</div>
62
+<div class="summary">
63
+<ul class="blockList">
64
+<li class="blockList">
65
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
66
+<ul class="blockList">
67
+<li class="blockList"><a name="constructor.summary">
68
+<!--   -->
69
+</a>
70
+<h3>Constructor Summary</h3>
71
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
72
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
73
+<tr>
74
+<th class="colOne" scope="col">Constructor and Description</th>
75
+</tr>
76
+<tr class="altColor">
77
+<td class="colOne"><code><span class="memberNameLink"><a href="WriteIFsTest.html#WriteIFsTest--">WriteIFsTest</a></span>()</code>
78
+<div class="block">Default constructor for test class WriteIFsTest</div>
79
+</td>
80
+</tr>
81
+</table>
82
+</li>
83
+</ul>
84
+<!-- ========== METHOD SUMMARY =========== -->
85
+<ul class="blockList">
86
+<li class="blockList"><a name="method.summary">
87
+<!--   -->
88
+</a>
89
+<h3>Method Summary</h3>
90
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
91
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
92
+<tr>
93
+<th class="colFirst" scope="col">Modifier and Type</th>
94
+<th class="colLast" scope="col">Method and Description</th>
95
+</tr>
96
+<tr id="i0" class="altColor">
97
+<td class="colFirst"><code>void</code></td>
98
+<td class="colLast"><code><span class="memberNameLink"><a href="WriteIFsTest.html#setUp--">setUp</a></span>()</code>
99
+<div class="block">Sets up the test fixture.</div>
100
+</td>
101
+</tr>
102
+<tr id="i1" class="rowColor">
103
+<td class="colFirst"><code>void</code></td>
104
+<td class="colLast"><code><span class="memberNameLink"><a href="WriteIFsTest.html#tearDown--">tearDown</a></span>()</code>
105
+<div class="block">Tears down the test fixture.</div>
106
+</td>
107
+</tr>
108
+<tr id="i2" class="altColor">
109
+<td class="colFirst"><code>void</code></td>
110
+<td class="colLast"><code><span class="memberNameLink"><a href="WriteIFsTest.html#TestCheckFuel1--">TestCheckFuel1</a></span>()</code>&nbsp;</td>
111
+</tr>
112
+<tr id="i3" class="rowColor">
113
+<td class="colFirst"><code>void</code></td>
114
+<td class="colLast"><code><span class="memberNameLink"><a href="WriteIFsTest.html#TestCheckFuel2--">TestCheckFuel2</a></span>()</code>&nbsp;</td>
115
+</tr>
116
+<tr id="i4" class="altColor">
117
+<td class="colFirst"><code>void</code></td>
118
+<td class="colLast"><code><span class="memberNameLink"><a href="WriteIFsTest.html#TestFireControl--">TestFireControl</a></span>()</code>&nbsp;</td>
119
+</tr>
120
+<tr id="i5" class="rowColor">
121
+<td class="colFirst"><code>void</code></td>
122
+<td class="colLast"><code><span class="memberNameLink"><a href="WriteIFsTest.html#TestFireControl2--">TestFireControl2</a></span>()</code>&nbsp;</td>
123
+</tr>
124
+<tr id="i6" class="altColor">
125
+<td class="colFirst"><code>void</code></td>
126
+<td class="colLast"><code><span class="memberNameLink"><a href="WriteIFsTest.html#TestFireControl3--">TestFireControl3</a></span>()</code>&nbsp;</td>
127
+</tr>
128
+<tr id="i7" class="rowColor">
129
+<td class="colFirst"><code>void</code></td>
130
+<td class="colLast"><code><span class="memberNameLink"><a href="WriteIFsTest.html#TestIfs--">TestIfs</a></span>()</code>&nbsp;</td>
131
+</tr>
132
+<tr id="i8" class="altColor">
133
+<td class="colFirst"><code>void</code></td>
134
+<td class="colLast"><code><span class="memberNameLink"><a href="WriteIFsTest.html#TestTherm--">TestTherm</a></span>()</code>&nbsp;</td>
135
+</tr>
136
+<tr id="i9" class="rowColor">
137
+<td class="colFirst"><code>void</code></td>
138
+<td class="colLast"><code><span class="memberNameLink"><a href="WriteIFsTest.html#TestTherm1--">TestTherm1</a></span>()</code>&nbsp;</td>
139
+</tr>
140
+</table>
141
+<ul class="blockList">
142
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
143
+<!--   -->
144
+</a>
145
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
146
+<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
147
+</ul>
148
+</li>
149
+</ul>
150
+</li>
151
+</ul>
152
+</div>
153
+<div class="details">
154
+<ul class="blockList">
155
+<li class="blockList">
156
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
157
+<ul class="blockList">
158
+<li class="blockList"><a name="constructor.detail">
159
+<!--   -->
160
+</a>
161
+<h3>Constructor Detail</h3>
162
+<a name="WriteIFsTest--">
163
+<!--   -->
164
+</a>
165
+<ul class="blockListLast">
166
+<li class="blockList">
167
+<h4>WriteIFsTest</h4>
168
+<pre>public&nbsp;WriteIFsTest()</pre>
169
+<div class="block">Default constructor for test class WriteIFsTest</div>
170
+</li>
171
+</ul>
172
+</li>
173
+</ul>
174
+<!-- ============ METHOD DETAIL ========== -->
175
+<ul class="blockList">
176
+<li class="blockList"><a name="method.detail">
177
+<!--   -->
178
+</a>
179
+<h3>Method Detail</h3>
180
+<a name="setUp--">
181
+<!--   -->
182
+</a>
183
+<ul class="blockList">
184
+<li class="blockList">
185
+<h4>setUp</h4>
186
+<pre>public&nbsp;void&nbsp;setUp()</pre>
187
+<div class="block">Sets up the test fixture.
188
+
189
+ Called before every test case method.</div>
190
+</li>
191
+</ul>
192
+<a name="tearDown--">
193
+<!--   -->
194
+</a>
195
+<ul class="blockList">
196
+<li class="blockList">
197
+<h4>tearDown</h4>
198
+<pre>public&nbsp;void&nbsp;tearDown()</pre>
199
+<div class="block">Tears down the test fixture.
200
+
201
+ Called after every test case method.</div>
202
+</li>
203
+</ul>
204
+<a name="TestCheckFuel1--">
205
+<!--   -->
206
+</a>
207
+<ul class="blockList">
208
+<li class="blockList">
209
+<h4>TestCheckFuel1</h4>
210
+<pre>public&nbsp;void&nbsp;TestCheckFuel1()</pre>
211
+</li>
212
+</ul>
213
+<a name="TestCheckFuel2--">
214
+<!--   -->
215
+</a>
216
+<ul class="blockList">
217
+<li class="blockList">
218
+<h4>TestCheckFuel2</h4>
219
+<pre>public&nbsp;void&nbsp;TestCheckFuel2()</pre>
220
+</li>
221
+</ul>
222
+<a name="TestFireControl--">
223
+<!--   -->
224
+</a>
225
+<ul class="blockList">
226
+<li class="blockList">
227
+<h4>TestFireControl</h4>
228
+<pre>public&nbsp;void&nbsp;TestFireControl()</pre>
229
+</li>
230
+</ul>
231
+<a name="TestFireControl2--">
232
+<!--   -->
233
+</a>
234
+<ul class="blockList">
235
+<li class="blockList">
236
+<h4>TestFireControl2</h4>
237
+<pre>public&nbsp;void&nbsp;TestFireControl2()</pre>
238
+</li>
239
+</ul>
240
+<a name="TestFireControl3--">
241
+<!--   -->
242
+</a>
243
+<ul class="blockList">
244
+<li class="blockList">
245
+<h4>TestFireControl3</h4>
246
+<pre>public&nbsp;void&nbsp;TestFireControl3()</pre>
247
+</li>
248
+</ul>
249
+<a name="TestIfs--">
250
+<!--   -->
251
+</a>
252
+<ul class="blockList">
253
+<li class="blockList">
254
+<h4>TestIfs</h4>
255
+<pre>public&nbsp;void&nbsp;TestIfs()</pre>
256
+</li>
257
+</ul>
258
+<a name="TestTherm--">
259
+<!--   -->
260
+</a>
261
+<ul class="blockList">
262
+<li class="blockList">
263
+<h4>TestTherm</h4>
264
+<pre>public&nbsp;void&nbsp;TestTherm()</pre>
265
+</li>
266
+</ul>
267
+<a name="TestTherm1--">
268
+<!--   -->
269
+</a>
270
+<ul class="blockListLast">
271
+<li class="blockList">
272
+<h4>TestTherm1</h4>
273
+<pre>public&nbsp;void&nbsp;TestTherm1()</pre>
274
+</li>
275
+</ul>
276
+</li>
277
+</ul>
278
+</li>
279
+</ul>
280
+</div>
281
+</div>
282
+<!-- ========= END OF CLASS DATA ========= -->
283
+</body>
284
+</html>

+ 20
- 0
doc/allclasses-frame.html Vedi File

@@ -0,0 +1,20 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_181) on Sun Oct 21 22:13:11 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>All Classes</title>
8
+<meta name="date" content="2018-10-21">
9
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10
+<script type="text/javascript" src="script.js"></script>
11
+</head>
12
+<body>
13
+<h1 class="bar">All&nbsp;Classes</h1>
14
+<div class="indexContainer">
15
+<ul>
16
+<li><a href="WriteIFsTest.html" title="class in &lt;Unnamed&gt;" target="classFrame">WriteIFsTest</a></li>
17
+</ul>
18
+</div>
19
+</body>
20
+</html>

+ 20
- 0
doc/allclasses-noframe.html Vedi File

@@ -0,0 +1,20 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_181) on Sun Oct 21 22:13:11 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>All Classes</title>
8
+<meta name="date" content="2018-10-21">
9
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10
+<script type="text/javascript" src="script.js"></script>
11
+</head>
12
+<body>
13
+<h1 class="bar">All&nbsp;Classes</h1>
14
+<div class="indexContainer">
15
+<ul>
16
+<li><a href="WriteIFsTest.html" title="class in &lt;Unnamed&gt;">WriteIFsTest</a></li>
17
+</ul>
18
+</div>
19
+</body>
20
+</html>

+ 31
- 0
doc/constant-values.html Vedi File

@@ -0,0 +1,31 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_181) on Sun Oct 21 22:13:11 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Constant Field Values</title>
8
+<meta name="date" content="2018-10-21">
9
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10
+<script type="text/javascript" src="script.js"></script>
11
+</head>
12
+<body>
13
+<script type="text/javascript"><!--
14
+    try {
15
+        if (location.href.indexOf('is-external=true') == -1) {
16
+            parent.document.title="Constant Field Values";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+</script>
23
+<noscript>
24
+<div>JavaScript is disabled on your browser.</div>
25
+</noscript>
26
+<div class="header">
27
+<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
28
+<h2 title="Contents">Contents</h2>
29
+</div>
30
+</body>
31
+</html>

+ 73
- 0
doc/index.html Vedi File

@@ -0,0 +1,73 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_181) on Sun Oct 21 22:13:11 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Generated Documentation (Untitled)</title>
8
+<script type="text/javascript">
9
+    tmpTargetPage = "" + window.location.search;
10
+    if (tmpTargetPage != "" && tmpTargetPage != "undefined")
11
+        tmpTargetPage = tmpTargetPage.substring(1);
12
+    if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" && !validURL(tmpTargetPage)))
13
+        tmpTargetPage = "undefined";
14
+    targetPage = tmpTargetPage;
15
+    function validURL(url) {
16
+        try {
17
+            url = decodeURIComponent(url);
18
+        }
19
+        catch (error) {
20
+            return false;
21
+        }
22
+        var pos = url.indexOf(".html");
23
+        if (pos == -1 || pos != url.length - 5)
24
+            return false;
25
+        var allowNumber = false;
26
+        var allowSep = false;
27
+        var seenDot = false;
28
+        for (var i = 0; i < url.length - 5; i++) {
29
+            var ch = url.charAt(i);
30
+            if ('a' <= ch && ch <= 'z' ||
31
+                    'A' <= ch && ch <= 'Z' ||
32
+                    ch == '$' ||
33
+                    ch == '_' ||
34
+                    ch.charCodeAt(0) > 127) {
35
+                allowNumber = true;
36
+                allowSep = true;
37
+            } else if ('0' <= ch && ch <= '9'
38
+                    || ch == '-') {
39
+                if (!allowNumber)
40
+                     return false;
41
+            } else if (ch == '/' || ch == '.') {
42
+                if (!allowSep)
43
+                    return false;
44
+                allowNumber = false;
45
+                allowSep = false;
46
+                if (ch == '.')
47
+                     seenDot = true;
48
+                if (ch == '/' && seenDot)
49
+                     return false;
50
+            } else {
51
+                return false;
52
+            }
53
+        }
54
+        return true;
55
+    }
56
+    function loadFrames() {
57
+        if (targetPage != "" && targetPage != "undefined")
58
+             top.classFrame.location = top.targetPage;
59
+    }
60
+</script>
61
+</head>
62
+<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
63
+<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
64
+<frame src="WriteIFsTest.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
65
+<noframes>
66
+<noscript>
67
+<div>JavaScript is disabled on your browser.</div>
68
+</noscript>
69
+<h2>Frame Alert</h2>
70
+<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="WriteIFsTest.html">Non-frame version</a>.</p>
71
+</noframes>
72
+</frameset>
73
+</html>

+ 37
- 0
doc/logfile.txt Vedi File

@@ -0,0 +1,37 @@
1
+Class documentation
2
+<---- javadoc command: ---->
3
+/private/var/folders/28/r853jdd16wsf06mfg5f033x40000gp/T/AppTranslocation/8394509B-B949-4EEA-9E83-2DE9DC5E8FFE/d/BlueJ.app/Contents/JDK/Home/bin/javadoc
4
+-author
5
+-version
6
+-nodeprecated
7
+-package
8
+-Xdoclint:none
9
+-noindex
10
+-notree
11
+-nohelp
12
+-nonavbar
13
+-source
14
+1.8
15
+-classpath
16
+/private/var/folders/28/r853jdd16wsf06mfg5f033x40000gp/T/AppTranslocation/8394509B-B949-4EEA-9E83-2DE9DC5E8FFE/d/BlueJ.app/Contents/Resources/Java/bluejcore.jar:/private/var/folders/28/r853jdd16wsf06mfg5f033x40000gp/T/AppTranslocation/8394509B-B949-4EEA-9E83-2DE9DC5E8FFE/d/BlueJ.app/Contents/Resources/Java/junit-4.11.jar:/private/var/folders/28/r853jdd16wsf06mfg5f033x40000gp/T/AppTranslocation/8394509B-B949-4EEA-9E83-2DE9DC5E8FFE/d/BlueJ.app/Contents/Resources/Java/hamcrest-core-1.3.jar:/private/var/folders/28/r853jdd16wsf06mfg5f033x40000gp/T/AppTranslocation/8394509B-B949-4EEA-9E83-2DE9DC5E8FFE/d/BlueJ.app/Contents/Resources/Java/lang-stride.jar:/private/var/folders/28/r853jdd16wsf06mfg5f033x40000gp/T/AppTranslocation/8394509B-B949-4EEA-9E83-2DE9DC5E8FFE/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-core.jar:/private/var/folders/28/r853jdd16wsf06mfg5f033x40000gp/T/AppTranslocation/8394509B-B949-4EEA-9E83-2DE9DC5E8FFE/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-gpio-extension.jar:/private/var/folders/28/r853jdd16wsf06mfg5f033x40000gp/T/AppTranslocation/8394509B-B949-4EEA-9E83-2DE9DC5E8FFE/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-service.jar:/private/var/folders/28/r853jdd16wsf06mfg5f033x40000gp/T/AppTranslocation/8394509B-B949-4EEA-9E83-2DE9DC5E8FFE/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-device.jar:/Users/nicholassatinover/Dev/FirstSaturday
17
+-d
18
+/Users/nicholassatinover/Dev/FirstSaturday/doc
19
+-encoding
20
+UTF-8
21
+-charset
22
+UTF-8
23
+/Users/nicholassatinover/Dev/FirstSaturday/WriteIFsTest.java
24
+<---- end of javadoc command ---->
25
+Loading source file /Users/nicholassatinover/Dev/FirstSaturday/WriteIFsTest.java...
26
+Constructing Javadoc information...
27
+Standard Doclet version 1.8.0_181
28
+Building tree for all the packages and classes...
29
+Generating /Users/nicholassatinover/Dev/FirstSaturday/doc/WriteIFsTest.html...
30
+Generating /Users/nicholassatinover/Dev/FirstSaturday/doc/package-frame.html...
31
+Generating /Users/nicholassatinover/Dev/FirstSaturday/doc/package-summary.html...
32
+Generating /Users/nicholassatinover/Dev/FirstSaturday/doc/constant-values.html...
33
+Building index for all the packages and classes...
34
+Building index for all classes...
35
+Generating /Users/nicholassatinover/Dev/FirstSaturday/doc/allclasses-frame.html...
36
+Generating /Users/nicholassatinover/Dev/FirstSaturday/doc/allclasses-noframe.html...
37
+Generating /Users/nicholassatinover/Dev/FirstSaturday/doc/index.html...

+ 21
- 0
doc/package-frame.html Vedi File

@@ -0,0 +1,21 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_181) on Sun Oct 21 22:13:11 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>&lt;Unnamed&gt;</title>
8
+<meta name="date" content="2018-10-21">
9
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
10
+<script type="text/javascript" src="script.js"></script>
11
+</head>
12
+<body>
13
+<h1 class="bar"><a href="package-summary.html" target="classFrame">&lt;Unnamed&gt;</a></h1>
14
+<div class="indexContainer">
15
+<h2 title="Classes">Classes</h2>
16
+<ul title="Classes">
17
+<li><a href="WriteIFsTest.html" title="class in &lt;Unnamed&gt;" target="classFrame">WriteIFsTest</a></li>
18
+</ul>
19
+</div>
20
+</body>
21
+</html>

+ 1
- 0
doc/package-list Vedi File

@@ -0,0 +1 @@
1
+

+ 40
- 0
doc/package-summary.html Vedi File

@@ -0,0 +1,40 @@
1
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
+<!-- NewPage -->
3
+<html lang="en">
4
+<head>
5
+<!-- Generated by javadoc (1.8.0_181) on Sun Oct 21 22:13:11 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<meta name="date" content="2018-10-21">
8
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
9
+<script type="text/javascript" src="script.js"></script>
10
+</head>
11
+<body>
12
+<noscript>
13
+<div>JavaScript is disabled on your browser.</div>
14
+</noscript>
15
+<div class="header">
16
+<h1 title="Package" class="title">Package&nbsp;&lt;Unnamed&gt;</h1>
17
+</div>
18
+<div class="contentContainer">
19
+<ul class="blockList">
20
+<li class="blockList">
21
+<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
22
+<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
23
+<tr>
24
+<th class="colFirst" scope="col">Class</th>
25
+<th class="colLast" scope="col">Description</th>
26
+</tr>
27
+<tbody>
28
+<tr class="altColor">
29
+<td class="colFirst"><a href="WriteIFsTest.html" title="class in &lt;Unnamed&gt;">WriteIFsTest</a></td>
30
+<td class="colLast">
31
+<div class="block">The test class WriteIFsTest.</div>
32
+</td>
33
+</tr>
34
+</tbody>
35
+</table>
36
+</li>
37
+</ul>
38
+</div>
39
+</body>
40
+</html>

+ 30
- 0
doc/script.js Vedi File

@@ -0,0 +1,30 @@
1
+function show(type)
2
+{
3
+    count = 0;
4
+    for (var key in methods) {
5
+        var row = document.getElementById(key);
6
+        if ((methods[key] &  type) != 0) {
7
+            row.style.display = '';
8
+            row.className = (count++ % 2) ? rowColor : altColor;
9
+        }
10
+        else
11
+            row.style.display = 'none';
12
+    }
13
+    updateTabs(type);
14
+}
15
+
16
+function updateTabs(type)
17
+{
18
+    for (var value in tabs) {
19
+        var sNode = document.getElementById(tabs[value][0]);
20
+        var spanNode = sNode.firstChild;
21
+        if (value == type) {
22
+            sNode.className = activeTableTab;
23
+            spanNode.innerHTML = tabs[value][1];
24
+        }
25
+        else {
26
+            sNode.className = tableTab;
27
+            spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";
28
+        }
29
+    }
30
+}

+ 574
- 0
doc/stylesheet.css Vedi File

@@ -0,0 +1,574 @@
1
+/* Javadoc style sheet */
2
+/*
3
+Overall document style
4
+*/
5
+
6
+@import url('resources/fonts/dejavu.css');
7
+
8
+body {
9
+    background-color:#ffffff;
10
+    color:#353833;
11
+    font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
12
+    font-size:14px;
13
+    margin:0;
14
+}
15
+a:link, a:visited {
16
+    text-decoration:none;
17
+    color:#4A6782;
18
+}
19
+a:hover, a:focus {
20
+    text-decoration:none;
21
+    color:#bb7a2a;
22
+}
23
+a:active {
24
+    text-decoration:none;
25
+    color:#4A6782;
26
+}
27
+a[name] {
28
+    color:#353833;
29
+}
30
+a[name]:hover {
31
+    text-decoration:none;
32
+    color:#353833;
33
+}
34
+pre {
35
+    font-family:'DejaVu Sans Mono', monospace;
36
+    font-size:14px;
37
+}
38
+h1 {
39
+    font-size:20px;
40
+}
41
+h2 {
42
+    font-size:18px;
43
+}
44
+h3 {
45
+    font-size:16px;
46
+    font-style:italic;
47
+}
48
+h4 {
49
+    font-size:13px;
50
+}
51
+h5 {
52
+    font-size:12px;
53
+}
54
+h6 {
55
+    font-size:11px;
56
+}
57
+ul {
58
+    list-style-type:disc;
59
+}
60
+code, tt {
61
+    font-family:'DejaVu Sans Mono', monospace;
62
+    font-size:14px;
63
+    padding-top:4px;
64
+    margin-top:8px;
65
+    line-height:1.4em;
66
+}
67
+dt code {
68
+    font-family:'DejaVu Sans Mono', monospace;
69
+    font-size:14px;
70
+    padding-top:4px;
71
+}
72
+table tr td dt code {
73
+    font-family:'DejaVu Sans Mono', monospace;
74
+    font-size:14px;
75
+    vertical-align:top;
76
+    padding-top:4px;
77
+}
78
+sup {
79
+    font-size:8px;
80
+}
81
+/*
82
+Document title and Copyright styles
83
+*/
84
+.clear {
85
+    clear:both;
86
+    height:0px;
87
+    overflow:hidden;
88
+}
89
+.aboutLanguage {
90
+    float:right;
91
+    padding:0px 21px;
92
+    font-size:11px;
93
+    z-index:200;
94
+    margin-top:-9px;
95
+}
96
+.legalCopy {
97
+    margin-left:.5em;
98
+}
99
+.bar a, .bar a:link, .bar a:visited, .bar a:active {
100
+    color:#FFFFFF;
101
+    text-decoration:none;
102
+}
103
+.bar a:hover, .bar a:focus {
104
+    color:#bb7a2a;
105
+}
106
+.tab {
107
+    background-color:#0066FF;
108
+    color:#ffffff;
109
+    padding:8px;
110
+    width:5em;
111
+    font-weight:bold;
112
+}
113
+/*
114
+Navigation bar styles
115
+*/
116
+.bar {
117
+    background-color:#4D7A97;
118
+    color:#FFFFFF;
119
+    padding:.8em .5em .4em .8em;
120
+    height:auto;/*height:1.8em;*/
121
+    font-size:11px;
122
+    margin:0;
123
+}
124
+.topNav {
125
+    background-color:#4D7A97;
126
+    color:#FFFFFF;
127
+    float:left;
128
+    padding:0;
129
+    width:100%;
130
+    clear:right;
131
+    height:2.8em;
132
+    padding-top:10px;
133
+    overflow:hidden;
134
+    font-size:12px; 
135
+}
136
+.bottomNav {
137
+    margin-top:10px;
138
+    background-color:#4D7A97;
139
+    color:#FFFFFF;
140
+    float:left;
141
+    padding:0;
142
+    width:100%;
143
+    clear:right;
144
+    height:2.8em;
145
+    padding-top:10px;
146
+    overflow:hidden;
147
+    font-size:12px;
148
+}
149
+.subNav {
150
+    background-color:#dee3e9;
151
+    float:left;
152
+    width:100%;
153
+    overflow:hidden;
154
+    font-size:12px;
155
+}
156
+.subNav div {
157
+    clear:left;
158
+    float:left;
159
+    padding:0 0 5px 6px;
160
+    text-transform:uppercase;
161
+}
162
+ul.navList, ul.subNavList {
163
+    float:left;
164
+    margin:0 25px 0 0;
165
+    padding:0;
166
+}
167
+ul.navList li{
168
+    list-style:none;
169
+    float:left;
170
+    padding: 5px 6px;
171
+    text-transform:uppercase;
172
+}
173
+ul.subNavList li{
174
+    list-style:none;
175
+    float:left;
176
+}
177
+.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
178
+    color:#FFFFFF;
179
+    text-decoration:none;
180
+    text-transform:uppercase;
181
+}
182
+.topNav a:hover, .bottomNav a:hover {
183
+    text-decoration:none;
184
+    color:#bb7a2a;
185
+    text-transform:uppercase;
186
+}
187
+.navBarCell1Rev {
188
+    background-color:#F8981D;
189
+    color:#253441;
190
+    margin: auto 5px;
191
+}
192
+.skipNav {
193
+    position:absolute;
194
+    top:auto;
195
+    left:-9999px;
196
+    overflow:hidden;
197
+}
198
+/*
199
+Page header and footer styles
200
+*/
201
+.header, .footer {
202
+    clear:both;
203
+    margin:0 20px;
204
+    padding:5px 0 0 0;
205
+}
206
+.indexHeader {
207
+    margin:10px;
208
+    position:relative;
209
+}
210
+.indexHeader span{
211
+    margin-right:15px;
212
+}
213
+.indexHeader h1 {
214
+    font-size:13px;
215
+}
216
+.title {
217
+    color:#2c4557;
218
+    margin:10px 0;
219
+}
220
+.subTitle {
221
+    margin:5px 0 0 0;
222
+}
223
+.header ul {
224
+    margin:0 0 15px 0;
225
+    padding:0;
226
+}
227
+.footer ul {
228
+    margin:20px 0 5px 0;
229
+}
230
+.header ul li, .footer ul li {
231
+    list-style:none;
232
+    font-size:13px;
233
+}
234
+/*
235
+Heading styles
236
+*/
237
+div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
238
+    background-color:#dee3e9;
239
+    border:1px solid #d0d9e0;
240
+    margin:0 0 6px -8px;
241
+    padding:7px 5px;
242
+}
243
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
244
+    background-color:#dee3e9;
245
+    border:1px solid #d0d9e0;
246
+    margin:0 0 6px -8px;
247
+    padding:7px 5px;
248
+}
249
+ul.blockList ul.blockList li.blockList h3 {
250
+    padding:0;
251
+    margin:15px 0;
252
+}
253
+ul.blockList li.blockList h2 {
254
+    padding:0px 0 20px 0;
255
+}
256
+/*
257
+Page layout container styles
258
+*/
259
+.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
260
+    clear:both;
261
+    padding:10px 20px;
262
+    position:relative;
263
+}
264
+.indexContainer {
265
+    margin:10px;
266
+    position:relative;
267
+    font-size:12px;
268
+}
269
+.indexContainer h2 {
270
+    font-size:13px;
271
+    padding:0 0 3px 0;
272
+}
273
+.indexContainer ul {
274
+    margin:0;
275
+    padding:0;
276
+}
277
+.indexContainer ul li {
278
+    list-style:none;
279
+    padding-top:2px;
280
+}
281
+.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
282
+    font-size:12px;
283
+    font-weight:bold;
284
+    margin:10px 0 0 0;
285
+    color:#4E4E4E;
286
+}
287
+.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
288
+    margin:5px 0 10px 0px;
289
+    font-size:14px;
290
+    font-family:'DejaVu Sans Mono',monospace;
291
+}
292
+.serializedFormContainer dl.nameValue dt {
293
+    margin-left:1px;
294
+    font-size:1.1em;
295
+    display:inline;
296
+    font-weight:bold;
297
+}
298
+.serializedFormContainer dl.nameValue dd {
299
+    margin:0 0 0 1px;
300
+    font-size:1.1em;
301
+    display:inline;
302
+}
303
+/*
304
+List styles
305
+*/
306
+ul.horizontal li {
307
+    display:inline;
308
+    font-size:0.9em;
309
+}
310
+ul.inheritance {
311
+    margin:0;
312
+    padding:0;
313
+}
314
+ul.inheritance li {
315
+    display:inline;
316
+    list-style:none;
317
+}
318
+ul.inheritance li ul.inheritance {
319
+    margin-left:15px;
320
+    padding-left:15px;
321
+    padding-top:1px;
322
+}
323
+ul.blockList, ul.blockListLast {
324
+    margin:10px 0 10px 0;
325
+    padding:0;
326
+}
327
+ul.blockList li.blockList, ul.blockListLast li.blockList {
328
+    list-style:none;
329
+    margin-bottom:15px;
330
+    line-height:1.4;
331
+}
332
+ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
333
+    padding:0px 20px 5px 10px;
334
+    border:1px solid #ededed; 
335
+    background-color:#f8f8f8;
336
+}
337
+ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
338
+    padding:0 0 5px 8px;
339
+    background-color:#ffffff;
340
+    border:none;
341
+}
342
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
343
+    margin-left:0;
344
+    padding-left:0;
345
+    padding-bottom:15px;
346
+    border:none;
347
+}
348
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
349
+    list-style:none;
350
+    border-bottom:none;
351
+    padding-bottom:0;
352
+}
353
+table tr td dl, table tr td dl dt, table tr td dl dd {
354
+    margin-top:0;
355
+    margin-bottom:1px;
356
+}
357
+/*
358
+Table styles
359
+*/
360
+.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary {
361
+    width:100%;
362
+    border-left:1px solid #EEE; 
363
+    border-right:1px solid #EEE; 
364
+    border-bottom:1px solid #EEE; 
365
+}
366
+.overviewSummary, .memberSummary  {
367
+    padding:0px;
368
+}
369
+.overviewSummary caption, .memberSummary caption, .typeSummary caption,
370
+.useSummary caption, .constantsSummary caption, .deprecatedSummary caption {
371
+    position:relative;
372
+    text-align:left;
373
+    background-repeat:no-repeat;
374
+    color:#253441;
375
+    font-weight:bold;
376
+    clear:none;
377
+    overflow:hidden;
378
+    padding:0px;
379
+    padding-top:10px;
380
+    padding-left:1px;
381
+    margin:0px;
382
+    white-space:pre;
383
+}
384
+.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link,
385
+.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link,
386
+.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover,
387
+.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover,
388
+.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active,
389
+.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active,
390
+.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited,
391
+.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited {
392
+    color:#FFFFFF;
393
+}
394
+.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,
395
+.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span {
396
+    white-space:nowrap;
397
+    padding-top:5px;
398
+    padding-left:12px;
399
+    padding-right:12px;
400
+    padding-bottom:7px;
401
+    display:inline-block;
402
+    float:left;
403
+    background-color:#F8981D;
404
+    border: none;
405
+    height:16px;
406
+}
407
+.memberSummary caption span.activeTableTab span {
408
+    white-space:nowrap;
409
+    padding-top:5px;
410
+    padding-left:12px;
411
+    padding-right:12px;
412
+    margin-right:3px;
413
+    display:inline-block;
414
+    float:left;
415
+    background-color:#F8981D;
416
+    height:16px;
417
+}
418
+.memberSummary caption span.tableTab span {
419
+    white-space:nowrap;
420
+    padding-top:5px;
421
+    padding-left:12px;
422
+    padding-right:12px;
423
+    margin-right:3px;
424
+    display:inline-block;
425
+    float:left;
426
+    background-color:#4D7A97;
427
+    height:16px;
428
+}
429
+.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab {
430
+    padding-top:0px;
431
+    padding-left:0px;
432
+    padding-right:0px;
433
+    background-image:none;
434
+    float:none;
435
+    display:inline;
436
+}
437
+.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
438
+.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd {
439
+    display:none;
440
+    width:5px;
441
+    position:relative;
442
+    float:left;
443
+    background-color:#F8981D;
444
+}
445
+.memberSummary .activeTableTab .tabEnd {
446
+    display:none;
447
+    width:5px;
448
+    margin-right:3px;
449
+    position:relative; 
450
+    float:left;
451
+    background-color:#F8981D;
452
+}
453
+.memberSummary .tableTab .tabEnd {
454
+    display:none;
455
+    width:5px;
456
+    margin-right:3px;
457
+    position:relative;
458
+    background-color:#4D7A97;
459
+    float:left;
460
+
461
+}
462
+.overviewSummary td, .memberSummary td, .typeSummary td,
463
+.useSummary td, .constantsSummary td, .deprecatedSummary td {
464
+    text-align:left;
465
+    padding:0px 0px 12px 10px;
466
+}
467
+th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th,
468
+td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{
469
+    vertical-align:top;
470
+    padding-right:0px;
471
+    padding-top:8px;
472
+    padding-bottom:3px;
473
+}
474
+th.colFirst, th.colLast, th.colOne, .constantsSummary th {
475
+    background:#dee3e9;
476
+    text-align:left;
477
+    padding:8px 3px 3px 7px;
478
+}
479
+td.colFirst, th.colFirst {
480
+    white-space:nowrap;
481
+    font-size:13px;
482
+}
483
+td.colLast, th.colLast {
484
+    font-size:13px;
485
+}
486
+td.colOne, th.colOne {
487
+    font-size:13px;
488
+}
489
+.overviewSummary td.colFirst, .overviewSummary th.colFirst,
490
+.useSummary td.colFirst, .useSummary th.colFirst,
491
+.overviewSummary td.colOne, .overviewSummary th.colOne,
492
+.memberSummary td.colFirst, .memberSummary th.colFirst,
493
+.memberSummary td.colOne, .memberSummary th.colOne,
494
+.typeSummary td.colFirst{
495
+    width:25%;
496
+    vertical-align:top;
497
+}
498
+td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
499
+    font-weight:bold;
500
+}
501
+.tableSubHeadingColor {
502
+    background-color:#EEEEFF;
503
+}
504
+.altColor {
505
+    background-color:#FFFFFF;
506
+}
507
+.rowColor {
508
+    background-color:#EEEEEF;
509
+}
510
+/*
511
+Content styles
512
+*/
513
+.description pre {
514
+    margin-top:0;
515
+}
516
+.deprecatedContent {
517
+    margin:0;
518
+    padding:10px 0;
519
+}
520
+.docSummary {
521
+    padding:0;
522
+}
523
+
524
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
525
+    font-style:normal;
526
+}
527
+
528
+div.block {
529
+    font-size:14px;
530
+    font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
531
+}
532
+
533
+td.colLast div {
534
+    padding-top:0px;
535
+}
536
+
537
+
538
+td.colLast a {
539
+    padding-bottom:3px;
540
+}
541
+/*
542
+Formatting effect styles
543
+*/
544
+.sourceLineNo {
545
+    color:green;
546
+    padding:0 30px 0 0;
547
+}
548
+h1.hidden {
549
+    visibility:hidden;
550
+    overflow:hidden;
551
+    font-size:10px;
552
+}
553
+.block {
554
+    display:block;
555
+    margin:3px 10px 2px 0px;
556
+    color:#474747;
557
+}
558
+.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink,
559
+.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel,
560
+.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink {
561
+    font-weight:bold;
562
+}
563
+.deprecationComment, .emphasizedPhrase, .interfaceName {
564
+    font-style:italic;
565
+}
566
+
567
+div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase,
568
+div.block div.block span.interfaceName {
569
+    font-style:normal;
570
+}
571
+
572
+div.contentContainer ul.blockList li.blockList h2{
573
+    padding-bottom:0px;
574
+}

+ 17
- 13
package.bluej Vedi File

@@ -5,20 +5,24 @@ dependency1.type=UsesDependency
5 5
 dependency2.from=WriteIFsTest
6 6
 dependency2.to=WriteIFs
7 7
 dependency2.type=UsesDependency
8
-editor.fx.0.height=722
9
-editor.fx.0.width=800
10
-editor.fx.0.x=560
11
-editor.fx.0.y=118
12
-objectbench.height=101
13
-objectbench.width=740
8
+editor.fx.0.height=1050
9
+editor.fx.0.width=945
10
+editor.fx.0.x=691
11
+editor.fx.0.y=-1057
12
+editor.fx.1.height=1057
13
+editor.fx.1.width=908
14
+editor.fx.1.x=-283
15
+editor.fx.1.y=-1057
16
+objectbench.height=80
17
+objectbench.width=1133
14 18
 package.divider.horizontal=0.6
15
-package.divider.vertical=0.8625954198473282
16
-package.editor.height=671
17
-package.editor.width=1139
18
-package.editor.x=112
19
-package.editor.y=89
20
-package.frame.height=844
21
-package.frame.width=1265
19
+package.divider.vertical=0.9129129129129129
20
+package.editor.height=905
21
+package.editor.width=1794
22
+package.editor.x=-283
23
+package.editor.y=-1057
24
+package.frame.height=1057
25
+package.frame.width=1920
22 26
 package.numDependencies=2
23 27
 package.numTargets=4
24 28
 package.showExtends=true