public class Point2D
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Point2D(double x,
double y) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
double |
getX() |
double |
getY() |
int |
hashCode() |
void |
setLocation(double x,
double y) |
java.lang.String |
toString() |
public double getX()
public double getY()
public void setLocation(double x, double y)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object