net.sourceforge.jabm.util
Class Point
java.lang.Object
net.sourceforge.jabm.util.Point
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Point>
public class Point
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable<Point>
- See Also:
- Serialized Form
-
-
Constructor Summary |
Point(double[] coordinates)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
coordinates
protected double[] coordinates
Point
public Point(double[] coordinates)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getCoordinates
public double[] getCoordinates()
compareTo
public int compareTo(Point o)
- Specified by:
compareTo
in interface java.lang.Comparable<Point>