else
} else {
  private void insertIntoTable(Instance inst, double [] instA)       throws Exception  {    double [] tempClassDist2;    double [] newDist;    hashKey thekey;    if (instA != null)      thekey = new hashKey(instA);    else      thekey = new hashKey(inst, inst.numAttributes());          // see if this one is already in the table    tempClassDist2 = (double []) m_entries.get(thekey);    if (tempClassDist2 == null)    {      if (m_classIsNominal)      {	newDist = new double [m_theInstances.classAttribute().numValues()];		newDist[(int)inst.classValue()] = inst.weight();	// add to the table	m_entries.put(thekey, newDist);      }      else      {	newDist = new double [2];	newDist[0] = inst.classValue() * inst.weight();	newDist[1] = inst.weight();	// add to the table	m_entries.put(thekey, newDist);      }    }    else // update the distribution for this instance    {      if (m_classIsNominal)      {	tempClassDist2[(int)inst.classValue()]+=inst.weight();	// update the table	m_entries.put(thekey, tempClassDist2);      }      else      {	tempClassDist2[0] += (inst.classValue() * inst.weight());	tempClassDist2[1] += inst.weight();	// update the table	m_entries.put(thekey, tempClassDist2);      }    }  }