### Question:
ResourceIndexedSearchParamCoords extends BaseResourceIndexedSearchParam { @Override public boolean equals(Object theObj) { if (this == theObj) { return true; } if (theObj == null) { return false; } if (!(theObj instanceof ResourceIndexedSearchParamCoords)) { return false; } ResourceIndexedSearchParamCoords obj = (ResourceIndexedSearchParamCoords) theObj; EqualsBuilder b = new EqualsBuilder(); b.append(getResourceType(), obj.getResourceType()); b.append(getParamName(), obj.getParamName()); b.append(getLatitude(), obj.getLatitude()); b.append(getLongitude(), obj.getLongitude()); b.append(isMissing(), obj.isMissing()); return b.isEquals(); } ResourceIndexedSearchParamCoords();  ResourceIndexedSearchParamCoords(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, double theLatitude, double theLongitude); @Override void calculateHashes(); @Override boolean equals(Object theObj); @Override void copyMutableValuesFrom(T theSource); void setHashIdentity(Long theHashIdentity); @Override Long getId(); @Override void setId(Long theId); double getLatitude(); ResourceIndexedSearchParamCoords setLatitude(double theLatitude); double getLongitude(); ResourceIndexedSearchParamCoords setLongitude(double theLongitude); @Override int hashCode(); @Override IQueryParameterType toQueryParameterType(); @Override String toString(); static final int MAX_LENGTH; @Column(name = "SP_LATITUDE")
	@Field
	public double myLatitude; @Column(name = "SP_LONGITUDE")
	@Field
	public double myLongitude; }### Answer:
@Test public void testEquals() { ResourceIndexedSearchParamCoords val1 = new ResourceIndexedSearchParamCoords() .setLatitude(100) .setLongitude(10); val1.setPartitionSettings(new PartitionSettings()); val1.calculateHashes(); ResourceIndexedSearchParamCoords val2 = new ResourceIndexedSearchParamCoords() .setLatitude(100) .setLongitude(10); val2.setPartitionSettings(new PartitionSettings()); val2.calculateHashes(); assertEquals(val1, val1); assertEquals(val1, val2); assertNotEquals(val1, null); assertNotEquals(val1, ""); }