Acme
Class DoublePoint
java.lang.Object
Acme.GenericCloneable
Acme.DoublePoint
- All Implemented Interfaces:
- java.lang.Cloneable
public class DoublePoint
- extends GenericCloneable
Field Summary |
double |
x
|
double |
y
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
x
public double x
y
public double y
DoublePoint
public DoublePoint()
DoublePoint
public DoublePoint(double x,
double y)
move
public void move(double x,
double y)
translate
public void translate(double dx,
double dy)
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object