[Minor] Added hashcode() and equals() to Locator