Acme
Class DoublePoint

java.lang.Object
  extended by Acme.GenericCloneable
      extended by Acme.DoublePoint
All Implemented Interfaces:
java.lang.Cloneable

public class DoublePoint
extends GenericCloneable


Field Summary
 double x
           
 double y
           
 
Constructor Summary
DoublePoint()
           
DoublePoint(double x, double y)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 void move(double x, double y)
           
 java.lang.String toString()
           
 void translate(double dx, double dy)
           
 
Methods inherited from class Acme.GenericCloneable
clone
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public double x

y

public double y
Constructor Detail

DoublePoint

public DoublePoint()

DoublePoint

public DoublePoint(double x,
                   double y)
Method Detail

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