Moving the equals() and hashCode() from GenericBinarySolution to AbstractGenericSolution