Some equals(), hashCode() and comparison methods for the location classes