|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectXYPoint
public class XYPoint
This class allows to sort XY data.
| Constructor Summary | |
|---|---|
XYPoint(double cx,
double cy)
Construct a new XYPoint. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object cxyp)
Compare X then Y. |
double |
getX()
Get X. |
double |
getY()
Get Y. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XYPoint(double cx,
double cy)
cx - Xcy - Y| Method Detail |
|---|
public double getX()
public double getY()
public int compareTo(java.lang.Object cxyp)
compareTo in interface java.lang.Comparablecxyp - the XYPoint to compare to
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||