Bläddra i källkod

Didn't upload before

Nick Satinover 6 år sedan
förälder
incheckning
e1e541b6bc
4 ändrade filer med 5 tillägg och 3 borttagningar
  1. Binär
      Operations.class
  2. 1
    1
      Operations.ctxt
  3. 2
    0
      Operations.java
  4. 2
    2
      package.bluej

Binär
Operations.class Visa fil


+ 1
- 1
Operations.ctxt Visa fil

@@ -2,7 +2,7 @@
2 2
 comment0.target=Operations
3 3
 comment1.params=x\ y
4 4
 comment1.target=int\ add(int,\ int)
5
-comment1.text=\n\ The\ addition\ function.\n\ @param\ x\ The\ first\ operand\n\ @param\ y\ The\ second\ operand\n\ @return\ the\ sum\ of\ x\ and\ y\n
5
+comment1.text=\n\ The\ addition\ function.\n\ @param\ x\ The\ first\ operand\n\ @param\ y\ The\ second\ operand\n\ @return\ the\ sum\ of\ x\ and\ y\n\ \n
6 6
 comment2.params=x\ y
7 7
 comment2.target=int\ subtract(int,\ int)
8 8
 comment2.text=\n\ The\ subtraction\ function\n\ @param\ x\ The\ first\ operand\n\ @param\ y\ The\ second\ operand\n\ @return\ y\ taken\ from\ x\n

+ 2
- 0
Operations.java Visa fil

@@ -5,7 +5,9 @@ public class Operations {
5 5
      * @param x The first operand
6 6
      * @param y The second operand
7 7
      * @return the sum of x and y
8
+     * 
8 9
      */
10
+   
9 11
     public static int add(int x, int y) {
10 12
         return x + y;
11 13
     }

+ 2
- 2
package.bluej Visa fil

@@ -7,8 +7,8 @@ editor.fx.0.width=800
7 7
 editor.fx.0.x=320
8 8
 editor.fx.0.y=23
9 9
 objectbench.height=164
10
-objectbench.width=701
11
-package.divider.horizontal=0.5619047619047619
10
+objectbench.width=749
11
+package.divider.horizontal=0.6
12 12
 package.divider.vertical=0.7373271889400922
13 13
 package.editor.height=473
14 14
 package.editor.width=1154