applications
Class ClosestPoints.Point1

java.lang.Object
  |
  +--applications.ClosestPoints.Point
        |
        +--applications.ClosestPoints.Point1

public static class ClosestPoints.Point1
extends ClosestPoints.Point
implements java.lang.Comparable

point with id, implements Comparable using x-coordinates


Constructor Summary
ClosestPoints.Point1(double theX, double theY, int theID)
           
 
Method Summary
 int compareTo(java.lang.Object x)
           
 boolean equals(java.lang.Object x)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClosestPoints.Point1

public ClosestPoints.Point1(double theX,
                            double theY,
                            int theID)
Method Detail

compareTo

public int compareTo(java.lang.Object x)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object x)
Overrides:
equals in class java.lang.Object