| Revision: | 1.3 |
| Committed: | Fri Mar 23 23:47:28 2001 UTC (24 years, 9 months ago) by pjm2 |
| Branch: | MAIN |
| CVS Tags: | HEAD |
| Changes since 1.2: | +0 -0 lines |
| State: | FILE REMOVED |
| Log Message: | I thought I'd deleted these weeks ago(!) |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | pjm2 | 1.2 | // Used to store our pairs of data. Lower overhead that Point2D. |
| 2 | pjm2 | 1.1 | 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 | } |