/** 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 Krovak that = (Krovak) object; return equals(azimuth, that.azimuth) && equals(pseudoStandardParallel, that.pseudoStandardParallel); } return false; } }