|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.gui.visualization.stats.core.Point
public class Point
Class for points that contain a double x and y value, use for sorting.
| Field Summary | |
|---|---|
protected double |
m_X
x value of the point |
protected double |
m_Y
y value of the point |
protected static long |
serialVersionUID
for serialization |
| Constructor Summary | |
|---|---|
Point(double x,
double y)
Constructor |
|
| Method Summary | |
|---|---|
int |
compareTo(Object obj)
Compares this point object to the parameter depending on the m_X fields |
double |
getX()
Get the x value of the point |
double |
getY()
get the y value of the point |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final long serialVersionUID
protected double m_X
protected double m_Y
| Constructor Detail |
|---|
public Point(double x,
double y)
x - x valuey - y value| Method Detail |
|---|
public int compareTo(Object obj)
compareTo in interface Comparableobj - Point to compare against this pointpublic double getX()
public double getY()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||