@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null) { return false; } if (getClass() != obj.getClass()) { return false; } RegressionTestChromosome other = (RegressionTestChromosome) obj; if (theClassLoader == null) { if (other.theClassLoader != null) { return false; } } else if (!theClassLoader.equals(other.theClassLoader)) { return false; } if (theTest == null) { if (other.theTest != null) { return false; } } else if (!theTest.equals(other.theTest)) { return false; } return true; }