01: //$Id$
02: //=====================================================================
03: //
04: //(history at end)
05: //
06:
07: package ch.ethz.prose.jikesrvm;
08:
09: public class Point {
10:
11: int x;
12:
13: private int y;
14:
15: public int getX() {
16: return x;
17: }
18:
19: public int getY() {
20: return y;
21: }
22:
23: public void setX(int x) {
24: this .x = x;
25: }
26:
27: public void setY(int y) {
28: this .y = y;
29: }
30:
31: public String toString() {
32: return "(" + x + ", " + y + ")";
33: }
34:
35: }
36:
37: //======================================================================
38: //
39: //$Log$
40: //
|