static void treeSetClusters_merge(Map> clusters, Collection a, Collection b) { for (A x : b) { a.add(x); clusters.put(x, a); } }