Bladeren bron

big update

Yauheni Papko 6 jaren geleden
bovenliggende
commit
9a96fac1ba
23 gewijzigde bestanden met toevoegingen van 1595 en 153 verwijderingen
  1. BIN
      .DS_Store
  2. 125
    38
      Calculator.java
  3. 2
    4
      Console.java
  4. 42
    0
      ConversionTest.java
  5. 6
    27
      Core.java
  6. 19
    0
      Custom.java
  7. 42
    0
      CustomTest.java
  8. 17
    4
      Display.java
  9. 36
    0
      DisplayMode.java
  10. 42
    0
      MemoryTest.java
  11. 9
    18
      Scientific.java
  12. 245
    0
      doc/Conversion.Mode.html
  13. 21
    0
      doc/allclasses-frame.html
  14. 21
    0
      doc/allclasses-noframe.html
  15. 31
    0
      doc/constant-values.html
  16. 73
    0
      doc/index.html
  17. 63
    0
      doc/logfile.txt
  18. 25
    0
      doc/package-frame.html
  19. 1
    0
      doc/package-list
  20. 55
    0
      doc/package-summary.html
  21. 30
    0
      doc/script.js
  22. 574
    0
      doc/stylesheet.css
  23. 116
    62
      package.bluej

BIN
.DS_Store Bestand weergeven


+ 125
- 38
Calculator.java Bestand weergeven

@@ -1,61 +1,62 @@
1
+import java.math.BigInteger;
1 2
 
2
-/**
3
- * Write a description of class Calculator here.
4
- *
5
- * @author (your name)
6
- * @version (a version number or a date)
7
- */
8 3
 public class Calculator
9 4
 {
10 5
     public static void  runCommandLoop() {
11 6
         Display display = new Display();
7
+
12 8
         Memory memory = new Memory();
13 9
         memory.resetMemory();
10
+
11
+        DisplayMode conversion = new DisplayMode();
12
+        int modeOrdinal = 0;
13
+
14 14
         String initial = Console.getStringInput("Enter number");
15 15
         display.setDisplay(initial);
16
+
16 17
         while (true) {  
17 18
             String command = Console.getStringInput("Choose a command");
18
-            if (command.equalsIgnoreCase("off")) {
19
+            if (command.equalsIgnoreCase("off") || command.equalsIgnoreCase("exit")) {
19 20
                 Console.println("Thank you for using our product!");
20 21
                 break;
21 22
             }
22
-            if (command.equalsIgnoreCase("c")) {
23
+            if (command.equalsIgnoreCase("c") || command.equalsIgnoreCase("clear")) {
23 24
                 display.setDisplay("0");
24 25
                 Console.println(display.getDisplay());
25 26
                 String resetValue = Console.getStringInput("Enter number");
26 27
                 display.setDisplay(resetValue);
27 28
             }
28
-            if (command.equalsIgnoreCase("+")) {
29
-                //int first = Console.getIntegerInput("Enter first number");
29
+            if (command.equalsIgnoreCase("+") || command.equalsIgnoreCase("add")) {
30 30
                 double first = Double.parseDouble(display.getDisplay());
31 31
                 double second = Console.getDoubleInput("Enter number");
32 32
                 double out = Core.add(first, second);
33 33
                 Console.println(Double.toString(out));
34 34
                 display.setDisplay(Double.toString(out));
35 35
             }
36
-            if (command.equalsIgnoreCase("-")) {
37
-                //int first = Console.getIntegerInput("Enter first number");
36
+            if (command.equalsIgnoreCase("-") || command.equalsIgnoreCase("subtract")) {
38 37
                 double first = Double.parseDouble(display.getDisplay());
39 38
                 double second = Console.getDoubleInput("Enter number");
40 39
                 double out = Core.subtract(first, second);
41 40
                 Console.println(Double.toString(out));
42 41
                 display.setDisplay(Double.toString(out));
43 42
             }
44
-            if (command.equalsIgnoreCase("*")) {
45
-                //int first = Console.getIntegerInput("Enter first number");
43
+            if (command.equalsIgnoreCase("*") || command.equalsIgnoreCase("multiply")) {
46 44
                 double first = Double.parseDouble(display.getDisplay());
47 45
                 double second = Console.getDoubleInput("Enter number");
48 46
                 double out = Core.multiply(first, second);
49 47
                 Console.println(Double.toString(out));
50 48
                 display.setDisplay(Double.toString(out));
51 49
             }
52
-            if (command.equalsIgnoreCase("/")) {
53
-                //int first = Console.getIntegerInput("Enter first number");
50
+            if (command.equalsIgnoreCase("/") || command.equalsIgnoreCase("divide")) {
54 51
                 double first = Double.parseDouble(display.getDisplay());
55 52
                 double second = Console.getDoubleInput("Enter number");
56 53
                 double out = Core.divide(first, second);
57
-                Console.println(Double.toString(out));
58
-                display.setDisplay(Double.toString(out));
54
+                if (Double.toString(out) == "NaN" || Double.toString(out) == "Infinity" || Double.toString(out) == "-Infinity") {
55
+                    display.errorDisplay();
56
+                } else {
57
+                    Console.println(Double.toString(out));
58
+                    display.setDisplay(Double.toString(out));
59
+                }
59 60
             }
60 61
             if (command.equalsIgnoreCase("sq")) {
61 62
                 double first = Double.parseDouble(display.getDisplay());
@@ -69,20 +70,24 @@ public class Calculator
69 70
                 Console.println(Double.toString(out));
70 71
                 display.setDisplay(Double.toString(out));
71 72
             }
72
-            if (command.equalsIgnoreCase("^")) {
73
+            if (command.equalsIgnoreCase("^") || command.equalsIgnoreCase("pow")) {
73 74
                 double first = Double.parseDouble(display.getDisplay());
74 75
                 double second = Console.getDoubleInput("Enter number");
75 76
                 double out = Core.exponentiation(first, second);
76 77
                 Console.println(Double.toString(out));
77 78
                 display.setDisplay(Double.toString(out));
78 79
             }
79
-            if (command.equalsIgnoreCase("/x")) {
80
+            if (command.equalsIgnoreCase("/x") || command.equalsIgnoreCase("inverse")) {
80 81
                 double first = Double.parseDouble(display.getDisplay());
81 82
                 double out = Core.inverse(first);
82
-                Console.println(Double.toString(out));
83
-                display.setDisplay(Double.toString(out));
83
+                if (Double.toString(out) == "NaN" || Double.toString(out) == "Infinity" || Double.toString(out) == "-Infinity") {
84
+                    display.errorDisplay();
85
+                } else {
86
+                    Console.println(Double.toString(out));
87
+                    display.setDisplay(Double.toString(out));
88
+                }
84 89
             }
85
-            if (command.equalsIgnoreCase("+-")) {
90
+            if (command.equalsIgnoreCase("+-") || command.equalsIgnoreCase("reverse")) {
86 91
                 double first = Double.parseDouble(display.getDisplay());
87 92
                 double out = Core.reverse(first);
88 93
                 Console.println(Double.toString(out));
@@ -101,21 +106,103 @@ public class Calculator
101 106
                 memory.resetMemory();
102 107
                 Console.println(display.getDisplay());
103 108
             }
104
-            /*String s = Console.getStringInput("Enter a string");
105
-            Integer i = Console.getIntegerInput("Enter an integer");
106
-            Double d = Console.getDoubleInput("Enter a double.");
107
-
108
-            Console.println("The user input %s as a string", s);
109
-            Console.println("The user input %s as a integer", i);
110
-            Console.println("The user input %s as a d", d);
111
-
112
-            Console.println("What operation would you like to do");
113
-            int first = Console.getIntegerInput("Enter first number");
114
-            int second = Console.getIntegerInput("Enter second number");
115
-            Integer out = Core.add(first, second);
116
-
117
-            Console.println(out.toString());*/
118
-
109
+            if (command.equalsIgnoreCase("bin") || command.equalsIgnoreCase("binary")) {
110
+                Console.println(conversion.switchDisplayMode(DisplayMode.Mode.Binary, display.getDisplay()));
111
+            }
112
+            if (command.equalsIgnoreCase("hex") || command.equalsIgnoreCase("hexadecimal")) {
113
+                Console.println(conversion.switchDisplayMode(DisplayMode.Mode.Hexadecimal, display.getDisplay()));
114
+            }
115
+            if (command.equalsIgnoreCase("oct") || command.equalsIgnoreCase("octal")) {
116
+                Console.println(conversion.switchDisplayMode(DisplayMode.Mode.Octal, display.getDisplay()));
117
+            }
118
+            if (command.equalsIgnoreCase("dec") || command.equalsIgnoreCase("decimal")) {
119
+                Console.println(conversion.switchDisplayMode(DisplayMode.Mode.Decimal, display.getDisplay()));
120
+            }
121
+            if (command.equalsIgnoreCase("switch")) {
122
+                Console.println(conversion.switchDisplayMode(DisplayMode.Mode.values()[modeOrdinal], display.getDisplay()));
123
+                if (modeOrdinal < 3) {
124
+                    modeOrdinal++; 
125
+                } else  
126
+                {
127
+                    modeOrdinal = 0;
128
+                }
129
+            }
130
+            if (command.equalsIgnoreCase("round") || command.equalsIgnoreCase("R")) {
131
+                double out = Custom.round(Double.parseDouble(display.getDisplay()));
132
+                Console.println(Double.toString(out));
133
+                display.setDisplay(Double.toString(out));
134
+            }
135
+            if (command.equalsIgnoreCase("abs")) {
136
+                double out = Custom.abs(Double.parseDouble(display.getDisplay()));
137
+                Console.println(Double.toString(out));
138
+                display.setDisplay(Double.toString(out));
139
+            }
140
+            if (command.equalsIgnoreCase("sin")) {
141
+                double first = Double.parseDouble(display.getDisplay());
142
+                double out = Scientific.sine(first);
143
+                if (Double.toString(out) == "NaN") {
144
+                    display.errorDisplay();
145
+                } else {
146
+                    Console.println(Double.toString(out));
147
+                    display.setDisplay(Double.toString(out));
148
+                }
149
+            }
150
+            if (command.equalsIgnoreCase("cos")) {
151
+                double first = Double.parseDouble(display.getDisplay());
152
+                double out = Scientific.cosine(first);
153
+                if (Double.toString(out) == "NaN") {
154
+                    display.errorDisplay();
155
+                } else {
156
+                    Console.println(Double.toString(out));
157
+                    display.setDisplay(Double.toString(out));
158
+                }
159
+            }
160
+            if (command.equalsIgnoreCase("tan")) {
161
+                double first = Double.parseDouble(display.getDisplay());
162
+                double out = Scientific.tangent(first);
163
+                if (Double.toString(out) == "NaN") {
164
+                    display.errorDisplay();
165
+                } else {
166
+                    Console.println(Double.toString(out));
167
+                    display.setDisplay(Double.toString(out));
168
+                }
169
+            }
170
+            if (command.equalsIgnoreCase("asin")) {
171
+                double first = Double.parseDouble(display.getDisplay());
172
+                double out = Scientific.inverseSin(first);
173
+                if (Double.toString(out) == "NaN") {
174
+                    display.errorDisplay();
175
+                } else {
176
+                    Console.println(Double.toString(out));
177
+                    display.setDisplay(Double.toString(out));
178
+                }
179
+            }
180
+            if (command.equalsIgnoreCase("acos")) {
181
+                double first = Double.parseDouble(display.getDisplay());
182
+                double out = Scientific.inverseCosine(first);
183
+                if (Double.toString(out) == "NaN") {
184
+                    display.errorDisplay();
185
+                } else {
186
+                    Console.println(Double.toString(out));
187
+                    display.setDisplay(Double.toString(out));
188
+                }
189
+            }
190
+            if (command.equalsIgnoreCase("atan")) {
191
+                double first = Double.parseDouble(display.getDisplay());
192
+                double out = Scientific.inverseTangent(first);
193
+                if (Double.toString(out) == "NaN") {
194
+                    display.errorDisplay();
195
+                } else {
196
+                    Console.println(Double.toString(out));
197
+                    display.setDisplay(Double.toString(out));
198
+                }
199
+            }
200
+            if (command.equalsIgnoreCase("fact") || command.equalsIgnoreCase("!x")) {
201
+                double first = Custom.round(Double.parseDouble(display.getDisplay()));
202
+                BigInteger out = Scientific.factorial(first);
203
+                Console.println(out.toString());
204
+                display.setDisplay(out.toString());
205
+            }
119 206
         }
120 207
     }
121 208
 }

+ 2
- 4
Console.java Bestand weergeven

@@ -1,7 +1,5 @@
1
- 
2 1
 
3 2
 import java.util.Scanner;
4
-
5 3
 /**
6 4
  * Created by leon on 2/9/18.
7 5
  */
@@ -23,14 +21,14 @@ public class Console {
23 21
     }
24 22
 
25 23
     public static Integer getIntegerInput(String prompt) {
26
-       Scanner scanner = new Scanner(System.in);
24
+        Scanner scanner = new Scanner(System.in);
27 25
         println(prompt);
28 26
         Integer userInput = scanner.nextInt();
29 27
         return userInput;
30 28
     }
31 29
 
32 30
     public static Double getDoubleInput(String prompt) {
33
-       Scanner scanner = new Scanner(System.in);
31
+        Scanner scanner = new Scanner(System.in);
34 32
         println(prompt);
35 33
         double userInput = scanner.nextDouble();
36 34
         return userInput;

+ 42
- 0
ConversionTest.java Bestand weergeven

@@ -0,0 +1,42 @@
1
+
2
+
3
+import static org.junit.Assert.*;
4
+import org.junit.After;
5
+import org.junit.Before;
6
+import org.junit.Test;
7
+
8
+/**
9
+ * The test class ConversionTest.
10
+ *
11
+ * @author  (your name)
12
+ * @version (a version number or a date)
13
+ */
14
+public class ConversionTest
15
+{
16
+    /**
17
+     * Default constructor for test class ConversionTest
18
+     */
19
+    public ConversionTest()
20
+    {
21
+    }
22
+
23
+    /**
24
+     * Sets up the test fixture.
25
+     *
26
+     * Called before every test case method.
27
+     */
28
+    @Before
29
+    public void setUp()
30
+    {
31
+    }
32
+
33
+    /**
34
+     * Tears down the test fixture.
35
+     *
36
+     * Called after every test case method.
37
+     */
38
+    @After
39
+    public void tearDown()
40
+    {
41
+    }
42
+}

+ 6
- 27
Core.java Bestand weergeven

@@ -8,17 +8,11 @@
8 8
 public class Core
9 9
 {
10 10
 
11
-    // instance variables - replace the example below with your own
12
-    private double x;
13
-
14 11
     /**
15 12
      * Constructor for objects of class Core
16 13
      */
17 14
     public Core()
18 15
     {
19
-        // initialise instance variables
20
-        //x = 0;
21
-            
22 16
     }
23 17
 
24 18
     public static double add(double x, double y)
@@ -34,44 +28,29 @@ public class Core
34 28
 
35 29
     public static double divide(double x, double y)
36 30
     {
37
-        String resetValue = new String();
38
-        if (y == 0) {
39
-            Console.println("ERR: Division by zero is not allowed");
40
-            resetValue = Console.getStringInput("Enter number");
41
-            //Display display = new Display();
42
-            //display.setDisplay(resetValue);
43
-        } else 
44
-           return x / y;
45
-        return Double.parseDouble(resetValue);
46
-        
31
+        return x / y;
47 32
     }
48 33
 
49 34
     public static double multiply(double x, double y)
50 35
     {
51 36
         return x * y;
52 37
     }
53
-    
38
+
54 39
     public static double squareRoot(double x)
55 40
     {
56 41
         return Math.sqrt(x);
57 42
     }
58
-    
43
+
59 44
     public static double exponentiation(double x, double y)
60 45
     {
61 46
         return Math.pow(x, y);
62 47
     }
63
-    
48
+
64 49
     public static double inverse(double x)
65 50
     {
66
-        if (x == 0) {
67
-            Console.println("ERR: Division by zero is not allowed");
68
-            String resetValue = Console.getStringInput("Enter number");
69
-            //display.setDisplay(resetValue);
70
-        } else 
71
-           return 1 / x;
72
-        return 0;
51
+        return 1 / x;
73 52
     }
74
-    
53
+
75 54
     public static double reverse(double x)
76 55
     {
77 56
         return -1*x;

+ 19
- 0
Custom.java Bestand weergeven

@@ -0,0 +1,19 @@
1
+
2
+/**
3
+ * Write a description of class Custom here.
4
+ *
5
+ * @author (your name)
6
+ * @version (a version number or a date)
7
+ */
8
+public class Custom
9
+{
10
+    public static double round(double x)
11
+    {
12
+        return Math.round (x);
13
+    }
14
+    
15
+    public static double abs(double x)
16
+    {
17
+        return Math.abs (x);
18
+    }
19
+}

+ 42
- 0
CustomTest.java Bestand weergeven

@@ -0,0 +1,42 @@
1
+
2
+
3
+import static org.junit.Assert.*;
4
+import org.junit.After;
5
+import org.junit.Before;
6
+import org.junit.Test;
7
+
8
+/**
9
+ * The test class CustomTest.
10
+ *
11
+ * @author  (your name)
12
+ * @version (a version number or a date)
13
+ */
14
+public class CustomTest
15
+{
16
+    /**
17
+     * Default constructor for test class CustomTest
18
+     */
19
+    public CustomTest()
20
+    {
21
+    }
22
+
23
+    /**
24
+     * Sets up the test fixture.
25
+     *
26
+     * Called before every test case method.
27
+     */
28
+    @Before
29
+    public void setUp()
30
+    {
31
+    }
32
+
33
+    /**
34
+     * Tears down the test fixture.
35
+     *
36
+     * Called after every test case method.
37
+     */
38
+    @After
39
+    public void tearDown()
40
+    {
41
+    }
42
+}

+ 17
- 4
Display.java Bestand weergeven

@@ -7,18 +7,31 @@
7 7
  */
8 8
 public class Display
9 9
 {
10
-        private String displayValue;
10
+    private String displayValue;
11 11
 
12 12
     public String getDisplay() {
13 13
         return displayValue;
14 14
     }
15
-    
15
+
16 16
     public void setDisplay(String prompt) {
17 17
         displayValue = prompt;
18 18
     }
19
-    
19
+
20 20
     public void resetDisplay(String prompt) {
21 21
         displayValue = "0";
22 22
     }
23
-    
23
+
24
+    public void errorDisplay() {
25
+        int Error = 1;
26
+        while (Error == 1){
27
+            String command = Console.getStringInput("ERROR. Please clear the display");
28
+            if (command.equalsIgnoreCase("c") || command.equalsIgnoreCase("clear")) {
29
+                Error = 0;
30
+                setDisplay("0");
31
+                Console.println(getDisplay());
32
+                String resetValue = Console.getStringInput("Enter number");
33
+                setDisplay(resetValue);
34
+            }
35
+        }    
36
+    }
24 37
 }

+ 36
- 0
DisplayMode.java Bestand weergeven

@@ -0,0 +1,36 @@
1
+
2
+/**
3
+ * Write a description of class Conversion here.
4
+ *
5
+ * @author (your name)
6
+ * @version (a version number or a date)
7
+ */
8
+public class DisplayMode
9
+{
10
+    enum Mode {
11
+        Binary,
12
+        Octal, 
13
+        Decimal, 
14
+        Hexadecimal
15
+    }
16
+    
17
+    String switchedValue = new String();
18
+    
19
+    public String switchDisplayMode(Mode mode, String displayValue) {
20
+        switch (mode) {
21
+            case Binary:
22
+                 switchedValue = Long.toBinaryString(Double.doubleToLongBits(Double.parseDouble(displayValue)));
23
+                 break;
24
+            case Octal:
25
+                 switchedValue = Long.toOctalString(Double.doubleToLongBits(Double.parseDouble(displayValue)));
26
+                 break;
27
+            case Decimal:
28
+                 switchedValue = displayValue;
29
+                 break;
30
+            case Hexadecimal:
31
+                 switchedValue = Double.toHexString(Double.parseDouble(displayValue));
32
+                 break;
33
+        }
34
+        return switchedValue;
35
+    }
36
+}

+ 42
- 0
MemoryTest.java Bestand weergeven

@@ -0,0 +1,42 @@
1
+
2
+
3
+import static org.junit.Assert.*;
4
+import org.junit.After;
5
+import org.junit.Before;
6
+import org.junit.Test;
7
+
8
+/**
9
+ * The test class MemoryTest.
10
+ *
11
+ * @author  (your name)
12
+ * @version (a version number or a date)
13
+ */
14
+public class MemoryTest
15
+{
16
+    /**
17
+     * Default constructor for test class MemoryTest
18
+     */
19
+    public MemoryTest()
20
+    {
21
+    }
22
+
23
+    /**
24
+     * Sets up the test fixture.
25
+     *
26
+     * Called before every test case method.
27
+     */
28
+    @Before
29
+    public void setUp()
30
+    {
31
+    }
32
+
33
+    /**
34
+     * Tears down the test fixture.
35
+     *
36
+     * Called after every test case method.
37
+     */
38
+    @After
39
+    public void tearDown()
40
+    {
41
+    }
42
+}

+ 9
- 18
Scientific.java Bestand weergeven

@@ -1,10 +1,5 @@
1
+import java.math.BigInteger;
1 2
 
2
-/**
3
- * Write a description of class Scientific here.
4
- *
5
- * @author (your name)
6
- * @version (a version number or a date)
7
- */
8 3
 public class Scientific
9 4
 {
10 5
     // instance variables - replace the example below with your own
@@ -22,27 +17,23 @@ public class Scientific
22 17
     public static double sine(double angle)
23 18
     {
24 19
         angle = Math.toRadians(angle);
25
-
26 20
         return Math.sin(angle) ;
27 21
     }
28 22
 
29 23
     public static double cosine(double angle)
30 24
     {
31 25
         angle = Math.toRadians(angle);
32
-
33 26
         return Math.cos(angle) ;
34 27
     }
35 28
 
36 29
     public static double tangent(double angle)
37 30
     {
38 31
         angle = Math.toRadians(angle);
39
-
40 32
         return Math.tan(angle) ;
41 33
     }
42 34
 
43 35
     public static double inverseSin(double angle)
44 36
     {   angle = Math.toRadians(angle);
45
-
46 37
         return Math.asin(angle) ;
47 38
 
48 39
     }
@@ -50,23 +41,23 @@ public class Scientific
50 41
     public static double inverseCosine(double angle)
51 42
     {
52 43
         angle = Math.toRadians(angle);
53
-
54 44
         return Math.acos(angle) ;
55 45
     }
56 46
 
57 47
     public static double inverseTangent(double angle)
58 48
     {
59 49
         angle = Math.toRadians(angle);
60
-
61 50
         return Math.atan(angle) ;
62 51
     }
63
-    public static double factorial(double x)
52
+    public static BigInteger factorial(double x)
64 53
     {
65
-        double result = double.valueof(number);
66
-        for (double factor = y; factor <= x.doubleValue(); factor++){
67
-        result = result.multiply(double.valueof(factor));
54
+        int y = (int) x;
55
+        BigInteger factorialValue = BigInteger.valueOf(1);
56
+        for (int i=1; i<=y; i++) {
57
+            factorialValue = factorialValue.multiply(BigInteger.valueOf(i));
58
+        }
59
+        return factorialValue;
68 60
         }
69 61
 
70
-        return result ;
71 62
     }
72
-}
63
+

+ 245
- 0
doc/Conversion.Mode.html Bestand weergeven

@@ -0,0 +1,245 @@
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_144) on Sun May 27 15:23:51 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<title>Conversion.Mode</title>
8
+<meta name="date" content="2018-05-27">
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="Conversion.Mode";
17
+        }
18
+    }
19
+    catch(err) {
20
+    }
21
+//-->
22
+var methods = {"i0":9,"i1":9};
23
+var tabs = {65535:["t0","All Methods"],1:["t1","Static 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="Enum Conversion.Mode" class="title">Enum Conversion.Mode</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>java.lang.Enum&lt;<a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a>&gt;</li>
42
+<li>
43
+<ul class="inheritance">
44
+<li>Conversion.Mode</li>
45
+</ul>
46
+</li>
47
+</ul>
48
+</li>
49
+</ul>
50
+<div class="description">
51
+<ul class="blockList">
52
+<li class="blockList">
53
+<dl>
54
+<dt>All Implemented Interfaces:</dt>
55
+<dd>java.io.Serializable, java.lang.Comparable&lt;<a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a>&gt;</dd>
56
+</dl>
57
+<dl>
58
+<dt>Enclosing class:</dt>
59
+<dd><a href="Conversion.html" title="class in &lt;Unnamed&gt;">Conversion</a></dd>
60
+</dl>
61
+<hr>
62
+<br>
63
+<pre>static enum <span class="typeNameLabel">Conversion.Mode</span>
64
+extends java.lang.Enum&lt;<a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a>&gt;</pre>
65
+</li>
66
+</ul>
67
+</div>
68
+<div class="summary">
69
+<ul class="blockList">
70
+<li class="blockList">
71
+<!-- =========== ENUM CONSTANT SUMMARY =========== -->
72
+<ul class="blockList">
73
+<li class="blockList"><a name="enum.constant.summary">
74
+<!--   -->
75
+</a>
76
+<h3>Enum Constant Summary</h3>
77
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
78
+<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
79
+<tr>
80
+<th class="colOne" scope="col">Enum Constant and Description</th>
81
+</tr>
82
+<tr class="altColor">
83
+<td class="colOne"><code><span class="memberNameLink"><a href="Conversion.Mode.html#Binary">Binary</a></span></code>&nbsp;</td>
84
+</tr>
85
+<tr class="rowColor">
86
+<td class="colOne"><code><span class="memberNameLink"><a href="Conversion.Mode.html#Decimal">Decimal</a></span></code>&nbsp;</td>
87
+</tr>
88
+<tr class="altColor">
89
+<td class="colOne"><code><span class="memberNameLink"><a href="Conversion.Mode.html#Hexadecimal">Hexadecimal</a></span></code>&nbsp;</td>
90
+</tr>
91
+<tr class="rowColor">
92
+<td class="colOne"><code><span class="memberNameLink"><a href="Conversion.Mode.html#Octal">Octal</a></span></code>&nbsp;</td>
93
+</tr>
94
+</table>
95
+</li>
96
+</ul>
97
+<!-- ========== METHOD SUMMARY =========== -->
98
+<ul class="blockList">
99
+<li class="blockList"><a name="method.summary">
100
+<!--   -->
101
+</a>
102
+<h3>Method Summary</h3>
103
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
104
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static 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>
105
+<tr>
106
+<th class="colFirst" scope="col">Modifier and Type</th>
107
+<th class="colLast" scope="col">Method and Description</th>
108
+</tr>
109
+<tr id="i0" class="altColor">
110
+<td class="colFirst"><code>static <a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a></code></td>
111
+<td class="colLast"><code><span class="memberNameLink"><a href="Conversion.Mode.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String&nbsp;name)</code>
112
+<div class="block">Returns the enum constant of this type with the specified name.</div>
113
+</td>
114
+</tr>
115
+<tr id="i1" class="rowColor">
116
+<td class="colFirst"><code>static <a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a>[]</code></td>
117
+<td class="colLast"><code><span class="memberNameLink"><a href="Conversion.Mode.html#values--">values</a></span>()</code>
118
+<div class="block">Returns an array containing the constants of this enum type, in
119
+the order they are declared.</div>
120
+</td>
121
+</tr>
122
+</table>
123
+<ul class="blockList">
124
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
125
+<!--   -->
126
+</a>
127
+<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
128
+<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
129
+</ul>
130
+<ul class="blockList">
131
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
132
+<!--   -->
133
+</a>
134
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
135
+<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
136
+</ul>
137
+</li>
138
+</ul>
139
+</li>
140
+</ul>
141
+</div>
142
+<div class="details">
143
+<ul class="blockList">
144
+<li class="blockList">
145
+<!-- ============ ENUM CONSTANT DETAIL =========== -->
146
+<ul class="blockList">
147
+<li class="blockList"><a name="enum.constant.detail">
148
+<!--   -->
149
+</a>
150
+<h3>Enum Constant Detail</h3>
151
+<a name="Binary">
152
+<!--   -->
153
+</a>
154
+<ul class="blockList">
155
+<li class="blockList">
156
+<h4>Binary</h4>
157
+<pre>public static final&nbsp;<a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a> Binary</pre>
158
+</li>
159
+</ul>
160
+<a name="Decimal">
161
+<!--   -->
162
+</a>
163
+<ul class="blockList">
164
+<li class="blockList">
165
+<h4>Decimal</h4>
166
+<pre>public static final&nbsp;<a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a> Decimal</pre>
167
+</li>
168
+</ul>
169
+<a name="Hexadecimal">
170
+<!--   -->
171
+</a>
172
+<ul class="blockList">
173
+<li class="blockList">
174
+<h4>Hexadecimal</h4>
175
+<pre>public static final&nbsp;<a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a> Hexadecimal</pre>
176
+</li>
177
+</ul>
178
+<a name="Octal">
179
+<!--   -->
180
+</a>
181
+<ul class="blockListLast">
182
+<li class="blockList">
183
+<h4>Octal</h4>
184
+<pre>public static final&nbsp;<a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a> Octal</pre>
185
+</li>
186
+</ul>
187
+</li>
188
+</ul>
189
+<!-- ============ METHOD DETAIL ========== -->
190
+<ul class="blockList">
191
+<li class="blockList"><a name="method.detail">
192
+<!--   -->
193
+</a>
194
+<h3>Method Detail</h3>
195
+<a name="valueOf-java.lang.String-">
196
+<!--   -->
197
+</a>
198
+<ul class="blockList">
199
+<li class="blockList">
200
+<h4>valueOf</h4>
201
+<pre>public static&nbsp;<a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
202
+<div class="block">Returns the enum constant of this type with the specified name.
203
+The string must match <i>exactly</i> an identifier used to declare an
204
+enum constant in this type.  (Extraneous whitespace characters are 
205
+not permitted.)</div>
206
+<dl>
207
+<dt><span class="paramLabel">Parameters:</span></dt>
208
+<dd><code>name</code> - the name of the enum constant to be returned.</dd>
209
+<dt><span class="returnLabel">Returns:</span></dt>
210
+<dd>the enum constant with the specified name</dd>
211
+<dt><span class="throwsLabel">Throws:</span></dt>
212
+<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
213
+<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
214
+</dl>
215
+</li>
216
+</ul>
217
+<a name="values--">
218
+<!--   -->
219
+</a>
220
+<ul class="blockListLast">
221
+<li class="blockList">
222
+<h4>values</h4>
223
+<pre>public static&nbsp;<a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a>[]&nbsp;values()</pre>
224
+<div class="block">Returns an array containing the constants of this enum type, in
225
+the order they are declared.  This method may be used to iterate
226
+over the constants as follows:
227
+<pre>
228
+for (Conversion.Mode c : Conversion.Mode.values())
229
+&nbsp;   System.out.println(c);
230
+</pre></div>
231
+<dl>
232
+<dt><span class="returnLabel">Returns:</span></dt>
233
+<dd>an array containing the constants of this enum type, in the order they are declared</dd>
234
+</dl>
235
+</li>
236
+</ul>
237
+</li>
238
+</ul>
239
+</li>
240
+</ul>
241
+</div>
242
+</div>
243
+<!-- ========= END OF CLASS DATA ========= -->
244
+</body>
245
+</html>

+ 21
- 0
doc/allclasses-frame.html Bestand weergeven

@@ -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_144) on Sun May 27 15:23:51 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-05-27">
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="Conversion.html" title="class in &lt;Unnamed&gt;" target="classFrame">Conversion</a></li>
17
+<li><a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;" target="classFrame">Conversion.Mode</a></li>
18
+</ul>
19
+</div>
20
+</body>
21
+</html>

+ 21
- 0
doc/allclasses-noframe.html Bestand weergeven

@@ -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_144) on Sun May 27 15:23:51 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-05-27">
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="Conversion.html" title="class in &lt;Unnamed&gt;">Conversion</a></li>
17
+<li><a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a></li>
18
+</ul>
19
+</div>
20
+</body>
21
+</html>

+ 31
- 0
doc/constant-values.html Bestand weergeven

@@ -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_144) on Sun May 27 15:23:51 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-05-27">
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 Bestand weergeven

@@ -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_144) on Sun May 27 15:23:51 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="Conversion.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="Conversion.html">Non-frame version</a>.</p>
71
+</noframes>
72
+</frameset>
73
+</html>

+ 63
- 0
doc/logfile.txt Bestand weergeven

@@ -0,0 +1,63 @@
1
+Class documentation
2
+<---- javadoc command: ---->
3
+/private/var/folders/ry/7sfbcy5s6z5cnghq2d48twp80000gp/T/AppTranslocation/B15256E4-D1A2-40A6-A5D6-ECBEE4282437/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/ry/7sfbcy5s6z5cnghq2d48twp80000gp/T/AppTranslocation/B15256E4-D1A2-40A6-A5D6-ECBEE4282437/d/BlueJ.app/Contents/Resources/Java/bluejcore.jar:/private/var/folders/ry/7sfbcy5s6z5cnghq2d48twp80000gp/T/AppTranslocation/B15256E4-D1A2-40A6-A5D6-ECBEE4282437/d/BlueJ.app/Contents/Resources/Java/junit-4.11.jar:/private/var/folders/ry/7sfbcy5s6z5cnghq2d48twp80000gp/T/AppTranslocation/B15256E4-D1A2-40A6-A5D6-ECBEE4282437/d/BlueJ.app/Contents/Resources/Java/hamcrest-core-1.3.jar:/private/var/folders/ry/7sfbcy5s6z5cnghq2d48twp80000gp/T/AppTranslocation/B15256E4-D1A2-40A6-A5D6-ECBEE4282437/d/BlueJ.app/Contents/Resources/Java/lang-stride.jar:/private/var/folders/ry/7sfbcy5s6z5cnghq2d48twp80000gp/T/AppTranslocation/B15256E4-D1A2-40A6-A5D6-ECBEE4282437/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-core.jar:/private/var/folders/ry/7sfbcy5s6z5cnghq2d48twp80000gp/T/AppTranslocation/B15256E4-D1A2-40A6-A5D6-ECBEE4282437/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-gpio-extension.jar:/private/var/folders/ry/7sfbcy5s6z5cnghq2d48twp80000gp/T/AppTranslocation/B15256E4-D1A2-40A6-A5D6-ECBEE4282437/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-service.jar:/private/var/folders/ry/7sfbcy5s6z5cnghq2d48twp80000gp/T/AppTranslocation/B15256E4-D1A2-40A6-A5D6-ECBEE4282437/d/BlueJ.app/Contents/Resources/Java/userlib/pi4j-device.jar:/Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator
17
+-d
18
+/Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/doc
19
+-encoding
20
+UTF-8
21
+-charset
22
+UTF-8
23
+/Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/Conversion.java
24
+<---- end of javadoc command ---->
25
+Loading source file /Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/Conversion.java...
26
+Constructing Javadoc information...
27
+Standard Doclet version 1.8.0_144
28
+Building tree for all the packages and classes...
29
+Generating /Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/doc/Conversion.html...
30
+Generating /Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/doc/Conversion.Mode.html...
31
+/Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/Scientific.java:65: error: class expected
32
+        double result = double.valueof(number);
33
+                               ^
34
+/Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/Scientific.java:65: error: ';' expected
35
+        double result = double.valueof(number);
36
+                                      ^
37
+/Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/Scientific.java:65: error: not a statement
38
+        double result = double.valueof(number);
39
+                                       ^
40
+/Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/Scientific.java:65: error: ';' expected
41
+        double result = double.valueof(number);
42
+                                             ^
43
+/Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/Scientific.java:67: error: class expected
44
+        result = result.multiply(double.valueof(factor));
45
+                                        ^
46
+/Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/Scientific.java:67: error: ')' expected
47
+        result = result.multiply(double.valueof(factor));
48
+                                               ^
49
+/Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/Scientific.java:67: error: not a statement
50
+        result = result.multiply(double.valueof(factor));
51
+                                                ^
52
+/Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/Scientific.java:67: error: ';' expected
53
+        result = result.multiply(double.valueof(factor));
54
+                                                      ^
55
+Generating /Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/doc/package-frame.html...
56
+Generating /Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/doc/package-summary.html...
57
+Generating /Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/doc/constant-values.html...
58
+Building index for all the packages and classes...
59
+Building index for all classes...
60
+Generating /Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/doc/allclasses-frame.html...
61
+Generating /Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/doc/allclasses-noframe.html...
62
+Generating /Users/yauhenip/ZCW-MacroLabs-OOP-ScientificCalculator/doc/index.html...
63
+8 errors

+ 25
- 0
doc/package-frame.html Bestand weergeven

@@ -0,0 +1,25 @@
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_144) on Sun May 27 15:23:51 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-05-27">
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="Conversion.html" title="class in &lt;Unnamed&gt;" target="classFrame">Conversion</a></li>
18
+</ul>
19
+<h2 title="Enums">Enums</h2>
20
+<ul title="Enums">
21
+<li><a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;" target="classFrame">Conversion.Mode</a></li>
22
+</ul>
23
+</div>
24
+</body>
25
+</html>

+ 1
- 0
doc/package-list Bestand weergeven

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

+ 55
- 0
doc/package-summary.html Bestand weergeven

@@ -0,0 +1,55 @@
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_144) on Sun May 27 15:23:51 EDT 2018 -->
6
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+<meta name="date" content="2018-05-27">
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="Conversion.html" title="class in &lt;Unnamed&gt;">Conversion</a></td>
30
+<td class="colLast">
31
+<div class="block">Write a description of class Conversion here.</div>
32
+</td>
33
+</tr>
34
+</tbody>
35
+</table>
36
+</li>
37
+<li class="blockList">
38
+<table class="typeSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
39
+<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
40
+<tr>
41
+<th class="colFirst" scope="col">Enum</th>
42
+<th class="colLast" scope="col">Description</th>
43
+</tr>
44
+<tbody>
45
+<tr class="altColor">
46
+<td class="colFirst"><a href="Conversion.Mode.html" title="enum in &lt;Unnamed&gt;">Conversion.Mode</a></td>
47
+<td class="colLast">&nbsp;</td>
48
+</tr>
49
+</tbody>
50
+</table>
51
+</li>
52
+</ul>
53
+</div>
54
+</body>
55
+</html>

+ 30
- 0
doc/script.js Bestand weergeven

@@ -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 Bestand weergeven

@@ -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
+}

+ 116
- 62
package.bluej Bestand weergeven

@@ -1,44 +1,53 @@
1 1
 #BlueJ package file
2
-dependency1.from=Calculator
3
-dependency1.to=Display
2
+dependency1.from=MainApplication
3
+dependency1.to=Console
4 4
 dependency1.type=UsesDependency
5
-dependency2.from=Calculator
6
-dependency2.to=Console
5
+dependency10.from=Calculator
6
+dependency10.to=Custom
7
+dependency10.type=UsesDependency
8
+dependency11.from=Calculator
9
+dependency11.to=Scientific
10
+dependency11.type=UsesDependency
11
+dependency2.from=MainApplication
12
+dependency2.to=Calculator
7 13
 dependency2.type=UsesDependency
8
-dependency3.from=Calculator
14
+dependency3.from=CoreTest
9 15
 dependency3.to=Core
10 16
 dependency3.type=UsesDependency
11
-dependency4.from=MainApplication
17
+dependency4.from=Display
12 18
 dependency4.to=Console
13 19
 dependency4.type=UsesDependency
14
-dependency5.from=MainApplication
15
-dependency5.to=Calculator
20
+dependency5.from=Calculator
21
+dependency5.to=Display
16 22
 dependency5.type=UsesDependency
17
-dependency6.from=Core
18
-dependency6.to=Display
23
+dependency6.from=Calculator
24
+dependency6.to=Memory
19 25
 dependency6.type=UsesDependency
20
-dependency7.from=Core
21
-dependency7.to=Console
26
+dependency7.from=Calculator
27
+dependency7.to=DisplayMode
22 28
 dependency7.type=UsesDependency
23
-dependency8.from=CoreTest
24
-dependency8.to=Core
29
+dependency8.from=Calculator
30
+dependency8.to=Console
25 31
 dependency8.type=UsesDependency
32
+dependency9.from=Calculator
33
+dependency9.to=Core
34
+dependency9.type=UsesDependency
26 35
 editor.fx.0.height=722
27
-editor.fx.0.width=800
28
-editor.fx.0.x=-133
29
-editor.fx.0.y=-1023
36
+editor.fx.0.width=1223
37
+editor.fx.0.x=142
38
+editor.fx.0.y=110
30 39
 objectbench.height=101
31 40
 objectbench.width=677
32 41
 package.divider.horizontal=0.6
33
-package.divider.vertical=0.8470254957507082
34
-package.editor.height=591
42
+package.divider.vertical=0.8459343794579173
43
+package.editor.height=586
35 44
 package.editor.width=1034
36
-package.editor.x=465
37
-package.editor.y=-1037
38
-package.frame.height=764
45
+package.editor.x=64
46
+package.editor.y=87
47
+package.frame.height=759
39 48
 package.frame.width=1160
40
-package.numDependencies=8
41
-package.numTargets=9
49
+package.numDependencies=11
50
+package.numTargets=15
42 51
 package.showExtends=true
43 52
 package.showUses=true
44 53
 project.charset=UTF-8
@@ -48,68 +57,113 @@ readme.width=47
48 57
 readme.x=10
49 58
 readme.y=10
50 59
 target1.height=50
51
-target1.name=CoreTest
60
+target1.name=ScientificTest
52 61
 target1.showInterface=false
53 62
 target1.type=UnitTestTargetJunit4
54 63
 target1.width=80
55
-target1.x=420
56
-target1.y=130
64
+target1.x=740
65
+target1.y=140
66
+target10.association=ConversionTest
67
+target10.height=50
68
+target10.name=DisplayMode
69
+target10.showInterface=false
70
+target10.type=ClassTarget
71
+target10.width=110
72
+target10.x=80
73
+target10.y=300
74
+target11.height=50
75
+target11.name=Calculator
76
+target11.showInterface=false
77
+target11.type=ClassTarget
78
+target11.width=90
79
+target11.x=440
80
+target11.y=170
81
+target12.height=50
82
+target12.name=Console
83
+target12.showInterface=false
84
+target12.type=ClassTarget
85
+target12.width=80
86
+target12.x=380
87
+target12.y=440
88
+target13.height=50
89
+target13.name=MainApplication
90
+target13.showInterface=false
91
+target13.type=ClassTarget
92
+target13.width=120
93
+target13.x=290
94
+target13.y=100
95
+target14.association=CoreTest
96
+target14.height=50
97
+target14.name=Core
98
+target14.showInterface=false
99
+target14.type=ClassTarget
100
+target14.width=80
101
+target14.x=710
102
+target14.y=50
103
+target15.association=DisplayTest
104
+target15.height=50
105
+target15.name=Display
106
+target15.showInterface=false
107
+target15.type=ClassTarget
108
+target15.width=80
109
+target15.x=80
110
+target15.y=50
111
+target2.association=MemoryTest
57 112
 target2.height=50
58
-target2.name=ScientificTest
113
+target2.name=Memory
59 114
 target2.showInterface=false
60
-target2.type=UnitTestTargetJunit4
115
+target2.type=ClassTarget
61 116
 target2.width=80
62
-target2.x=530
63
-target2.y=130
117
+target2.x=80
118
+target2.y=170
119
+target3.association=ScientificTest
64 120
 target3.height=50
65
-target3.name=Calculator
121
+target3.name=Scientific
66 122
 target3.showInterface=false
67 123
 target3.type=ClassTarget
68
-target3.width=90
69
-target3.x=290
70
-target3.y=70
124
+target3.width=80
125
+target3.x=710
126
+target3.y=170
71 127
 target4.height=50
72
-target4.name=Console
128
+target4.name=CustomTest
73 129
 target4.showInterface=false
74
-target4.type=ClassTarget
130
+target4.type=UnitTestTargetJunit4
75 131
 target4.width=80
76
-target4.x=120
77
-target4.y=300
78
-target5.association=ScientificTest
132
+target4.x=740
133
+target4.y=250
134
+target5.association=CustomTest
79 135
 target5.height=50
80
-target5.name=Scientific
136
+target5.name=Custom
81 137
 target5.showInterface=false
82 138
 target5.type=ClassTarget
83 139
 target5.width=80
84
-target5.x=500
85
-target5.y=160
140
+target5.x=710
141
+target5.y=280
86 142
 target6.height=50
87
-target6.name=DisplayTest
143
+target6.name=ConversionTest
88 144
 target6.showInterface=false
89 145
 target6.type=UnitTestTargetJunit4
90
-target6.width=80
91
-target6.x=480
92
-target6.y=40
146
+target6.width=110
147
+target6.x=110
148
+target6.y=270
93 149
 target7.height=50
94
-target7.name=MainApplication
150
+target7.name=DisplayTest
95 151
 target7.showInterface=false
96
-target7.type=ClassTarget
97
-target7.width=120
98
-target7.x=70
99
-target7.y=70
100
-target8.association=CoreTest
152
+target7.type=UnitTestTargetJunit4
153
+target7.width=80
154
+target7.x=110
155
+target7.y=20
101 156
 target8.height=50
102
-target8.name=Core
157
+target8.name=CoreTest
103 158
 target8.showInterface=false
104
-target8.type=ClassTarget
159
+target8.type=UnitTestTargetJunit4
105 160
 target8.width=80
106
-target8.x=390
107
-target8.y=160
108
-target9.association=DisplayTest
161
+target8.x=740
162
+target8.y=20
109 163
 target9.height=50
110
-target9.name=Display
164
+target9.name=MemoryTest
111 165
 target9.showInterface=false
112
-target9.type=ClassTarget
166
+target9.type=UnitTestTargetJunit4
113 167
 target9.width=80
114
-target9.x=450
115
-target9.y=70
168
+target9.x=110
169
+target9.y=140