|
Header
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.data.xy.XYCoordinate
public class XYCoordinate
Represents an (x, y) coordinate.
| Constructor Summary | |
|---|---|
XYCoordinate()
Creates a new coordinate for the point (0.0, 0.0). |
|
XYCoordinate(double x,
double y)
Creates a new coordinate for the point (x, y). |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object obj)
Compares this instance against an arbitrary object. |
boolean |
equals(java.lang.Object obj)
Tests this coordinate for equality with an arbitrary object. |
double |
getX()
Returns the x-coordinate. |
double |
getY()
Returns the y-coordinate. |
int |
hashCode()
Returns a hash code for this instance. |
java.lang.String |
toString()
Returns a string representation of this instance, primarily for debugging purposes. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XYCoordinate()
public XYCoordinate(double x,
double y)
x - the x-coordinate.y - the y-coordinate.| Method Detail |
|---|
public double getX()
public double getY()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(java.lang.Object obj)
compareTo in interface java.lang.Comparableobj - the object (null not permitted).
|
Footer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||