瀏覽代碼

Didn't upload before

Nick Satinover 6 年之前
父節點
當前提交
e1e541b6bc
共有 4 個檔案被更改,包括 5 行新增3 行删除
  1. 二進制
      Operations.class
  2. 1
    1
      Operations.ctxt
  3. 2
    0
      Operations.java
  4. 2
    2
      package.bluej

二進制
Operations.class 查看文件


+ 1
- 1
Operations.ctxt 查看文件

@@ -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 查看文件

@@ -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 查看文件

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