for (Iterator<ClassFeatureSet> i = bugCollection.classFeatureSetIterator(); i.hasNext();) { ClassFeatureSet classFeatureSet = i.next(); classesSeen.add(classFeatureSet.getClassName()); similarClasses.add(classFeatureSet); }
	public static void main(String[] args) throws Exception {		if (args.length != 1) {			System.err.println("Usage: " + CountClasses.class.getName() + " <bug collection>");			System.exit(1);		}				SortedBugCollection bugCollection = new SortedBugCollection();		bugCollection.readXML(args[0], new Project());				Set<String> classesSeen = new TreeSet<String>();//		Set<ClassHash> classHashesSeen = new TreeSet<ClassHash>();		//		for (Iterator<ClassHash> i = bugCollection.classHashIterator(); i.hasNext(); ) {//			ClassHash classHash = i.next();//			classesSeen.add(classHash.getClassName());//			classHashesSeen.add(classHash);//		}				System.out.println(classesSeen.size() + " classes");//		System.out.println(classHashesSeen.size() + " class hash values seen");				// FIXME: print number of dissimilar classes based on class features	}