/** * This instance is equal to all instances of {@code SMFCoordinateSystem} that have equal attribute values. * @return {@code true} if {@code this} is equal to {@code another} instance */ @Override public boolean equals(Object another) { if (this == another) return true; return another instanceof SMFCoordinateSystem && equalTo((SMFCoordinateSystem) another); }
/** * This instance is equal to all instances of {@code SMFCoordinateSystem} that have equal attribute values. * @return {@code true} if {@code this} is equal to {@code another} instance */ @Override public boolean equals(Object another) { if (this == another) return true; return another instanceof SMFCoordinateSystem && equalTo((SMFCoordinateSystem) another); }