codice:
while (I.hasNext()) {
  B = (Classe)I.next();
  if (A.compareTo(B) == 0)
    t=true;
}