maybe just do this:

```
return this.neighbors == other.neighbors && this.defaultLocations.equals(other.defaultLocations)
```