cm.setCbo(afferentCoupledClasses.size());
cm.setCbo(efferentCoupledClasses.size());
    public void end() {	cm.setCbo(afferentCoupledClasses.size());	cm.setRfc(responseSet.size());	/*	 * Calculate LCOM  as |P| - |Q| if |P| - |Q| > 0 or 0 otherwise	 * where	 * P = set of all empty set intersections	 * Q = set of all nonempty set intersections	 */	int lcom = 0;	for (int i = 0; i < mi.size(); i++)	    for (int j = i + 1; j < mi.size(); j++) {		/* A shallow unknown-type copy is enough */		TreeSet<?> intersection = (TreeSet<?>)mi.get(i).clone();		intersection.retainAll(mi.get(j));		if (intersection.size() == 0)		    lcom++;		else		    lcom--;	    }	cm.setLcom(lcom > 0 ? lcom : 0);    }