Both java.lang.Object.equals(java.lang.Object) Object.equals() and java.lang.Object.hashCode Object.hashCode() should be overridden appropriately.