Evaluation cmp = (Evaluation) obj;
  public boolean equals(Object obj) {    if ((obj == null) || !(obj instanceof Evaluation)) return false;    if (m_ClassIsNominal != cmp.m_ClassIsNominal) return false;    if (m_NumClasses != cmp.m_NumClasses) return false;    if (m_Incorrect != cmp.m_Incorrect) return false;    if (m_Correct != cmp.m_Correct) return false;    if (m_Unclassified != cmp.m_Unclassified) return false;    if (m_MissingClass != cmp.m_MissingClass) return false;    if (m_WithClass != cmp.m_WithClass) return false;    if (m_SumErr != cmp.m_SumErr) return false;    if (m_SumAbsErr != cmp.m_SumAbsErr) return false;    if (m_SumSqrErr != cmp.m_SumSqrErr) return false;    if (m_SumClass != cmp.m_SumClass) return false;    if (m_SumSqrClass != cmp.m_SumSqrClass) return false;    if (m_SumPredicted != cmp.m_SumPredicted) return false;    if (m_SumSqrPredicted != cmp.m_SumSqrPredicted) return false;    if (m_SumClassPredicted != cmp.m_SumClassPredicted) return false;    if (m_ClassIsNominal) {      for (int i = 0; i < m_NumClasses; i++) {	for (int j = 0; j < m_NumClasses; j++) {	  if (m_ConfusionMatrix[i][j] != cmp.m_ConfusionMatrix[i][j]) {	    return false;	  }	}      }    }        return true;  }