public abstract class AbstractNode extends Object implements Node
Node
interface, minimising
the effort required to implement it.Modifier | Constructor and Description |
---|---|
protected |
AbstractNode(double e,
double n) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Node that) |
double |
easting()
The ordinate (horizontal / longitudinal) aspect.
|
boolean |
equals(Object object) |
int |
hashCode() |
double |
northing()
The abscissa (vertical / latitudinal) aspect.
|
String |
toString() |
public double easting()
PlaneCoordinates
easting
in interface PlaneCoordinates
public double northing()
PlaneCoordinates
northing
in interface PlaneCoordinates
public int compareTo(Node that)
compareTo
in interface Comparable<Node>