ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/DBReporter2/PairData.java
Revision: 1.2
Committed: Sat Feb 3 17:26:07 2001 UTC (24 years, 10 months ago) by pjm2
Branch: MAIN
Changes since 1.1: +1 -0 lines
Log Message:
Fixed the runnaway memory problem.

File Contents

# Content
1 // Used to store our pairs of data. Lower overhead that Point2D.
2 public class PairData {
3
4 public PairData(double x, double y) {
5 _x = x;
6 _y = y;
7 }
8
9 public double getX() {
10 return _x;
11 }
12
13 public double getY() {
14 return _y;
15 }
16
17 public void setPair(double x, double y) {
18 _x = x;
19 _y = y;
20 }
21
22 private double _x;
23 private double _y;
24
25 }