01: /*
02: * Copyright 2007 Roy van der Kuil (roy@vanderkuil.nl) and Stefan Rotman (stefan@rotman.net)
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package nl.improved.sqlclient;
17:
18: /**
19: * class holding the x/y position.
20: */
21: public class Point {
22:
23: /**
24: * The current x value.
25: */
26: public int x;
27: /**
28: * The current y value.
29: */
30: public int y;
31:
32: /**
33: * Constructor.
34: * @param x the x position
35: * @param y the y position
36: */
37: public Point(int x, int y) {
38: super ();
39: this .x = x;
40: this .y = y;
41: }
42:
43: public String toString() {
44: return x + "," + y;
45: }
46: }
|