|
Algorithm Development Kit 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPoint
A point has an x- and y-coordinate over the cartesian plane.
Classes that implement this interface must provide accurate Object.equals(Object)
and Object.hashCode() methods. To be useful during debugging, one should
also have a meaningful Object.toString() method.
| Field Summary | |
|---|---|
static java.util.Comparator<IPoint> |
xy_sorter
Globally useful sorter, that first sorts by x, and then by y coordinate. |
| Method Summary | |
|---|---|
double |
getX()
return the x-coordinate value for the given point. |
double |
getY()
return the y-coordinate value for the given point. |
| Field Detail |
|---|
static final java.util.Comparator<IPoint> xy_sorter
| Method Detail |
|---|
double getX()
double getY()
|
Algorithm Development Kit 1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||