01: //$Id$
02: //=====================================================================
03: //
04: //(history at end)
05: //
06:
07: package ch.ethz.prose;
08:
09: /**
10: * Class used for method redefinition JUnit test.
11: *
12: * @version $Revision$
13: * @author Angela Nicoara
14: */
15:
16: public class Point {
17:
18: int x;
19:
20: private int y;
21:
22: public int getX() {
23: return x;
24: }
25:
26: public int getY() {
27: return y;
28: }
29:
30: public void setX(int x) {
31: this .x = x;
32: }
33:
34: public void setY(int y) {
35: this .y = y;
36: }
37:
38: public String toString() {
39: return "(" + x + ", " + y + ")";
40: }
41:
42: }
43:
44: //======================================================================
45: //
46: // $Log$
47: //
|