-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathJavaCommentsTest.java
More file actions
46 lines (39 loc) · 1.08 KB
/
JavaCommentsTest.java
File metadata and controls
46 lines (39 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//first_change1477990357657
/*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package commenttest;
import java.util.ArrayList;
final class JavaCommentsTest
{
private ArrayList<Integer> numbers = new ArrayList<Integer>();
public JavaCommentsTest()
{
numbers.add(1);
numbers.add(2);
numbers.add(3);
numbers.add(4);
numbers.add(5);
numbers.add(6);
}
public ArrayList<Integer> getNumbers()
{
return numbers;
}
public Integer sum(Integer x, Integer y)
{
return x + y;
}
public Integer subtraction(Integer x, Integer y)
{
return x - y;
}
}