| java.lang.Object org.jfree.data.xy.XYCoordinate
Constructor Summary | |
public | XYCoordinate() Creates a new coordinate for the point (0.0, 0.0). | public | XYCoordinate(double x, double y) Creates a new coordinate for the point (x, y). |
Method Summary | |
public int | compareTo(Object obj) Compares this instance against an arbitrary object. | public boolean | equals(Object obj) Tests this coordinate for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public double | getX() Returns the x-coordinate. | public double | getY() Returns the y-coordinate. | public int | hashCode() Returns a hash code for this instance. | public String | toString() Returns a string representation of this instance, primarily for
debugging purposes. |
XYCoordinate | public XYCoordinate()(Code) | | Creates a new coordinate for the point (0.0, 0.0).
|
XYCoordinate | public XYCoordinate(double x, double y)(Code) | | Creates a new coordinate for the point (x, y).
Parameters: x - the x-coordinate. Parameters: y - the y-coordinate. |
compareTo | public int compareTo(Object obj)(Code) | | Compares this instance against an arbitrary object.
Parameters: obj - the object (null not permitted). An integer indicating the relative order of the items. |
equals | public boolean equals(Object obj)(Code) | | Tests this coordinate for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
getX | public double getX()(Code) | | Returns the x-coordinate.
The x-coordinate. |
getY | public double getY()(Code) | | Returns the y-coordinate.
The y-coordinate. |
hashCode | public int hashCode()(Code) | | Returns a hash code for this instance.
A hash code. |
toString | public String toString()(Code) | | Returns a string representation of this instance, primarily for
debugging purposes.
A string. |
|
|