/** Compares the specified object with this map projection for equality. */ @Override public boolean equals(final Object object) { if (object == this) { // Slight optimization return true; } if (super.equals(object)) { final Gnomonic that = (Gnomonic) object; return equals(this.latitudeOfCentre, that.latitudeOfCentre); } return false; }