GeoId implements Serializable, Comparable<GeoId> { @Pure @Override public int hashCode() { return Objects.hashCode(this.id); } GeoId(String id);   GeoId(double lowerx, double lowery, double upperx, double uppery, String id); @Pure static GeoId valueOf(String geoId); @Override @Pure String toString(); @Pure UUID toUUID(); @Pure @Override int compareTo(GeoId obj); @Pure @Override boolean equals(Object obj); @Pure @Override int hashCode(); @Pure Rectangle2d toBounds2D(); @Pure String getInternalId();  }
@Test public void testHashCode() { int geoid11 = this.id11.hashCode(); int geoid12 = this.id12.hashCode(); int geoid13 = this.id13.hashCode(); int geoid21 = this.id21.hashCode(); int geoid22 = this.id22.hashCode(); int geoid23 = this.id23.hashCode(); assertEquals(geoid11, geoid12); assertEquals(geoid12, geoid11); assertNotEquals(geoid11, geoid13); assertNotEquals(geoid12, geoid13); assertNotEquals(geoid13, geoid11); assertNotEquals(geoid13, geoid11); assertEquals(geoid21, geoid22); assertEquals(geoid22, geoid21); assertNotEquals(geoid21, geoid23); assertNotEquals(geoid22, geoid23); assertNotEquals(geoid23, geoid21); assertNotEquals(geoid23, geoid22); }