/** * Returns if the classifier of the class is equal to the classifier given as a parameter. * * @param cl is a classifier. * @return a boolean indicating if they are equals. */ public boolean equals(Classifier cl) { try { if (rep.getAction() != cl.rep.getAction()) return false; return rep.equals(cl.rep); } catch (Exception e) { return false; } } // end equals