static LinkedHashMap multiSetTopTenAsLinkedHashMap(MultiSet ms) {
ret multiSetTopTenAsLinkedHashMap(ms, 10);
}
static LinkedHashMap multiSetTopTenAsLinkedHashMap(MultiSet ms, int n) {
new LinkedHashMap map;
for (A a : ms.getTopTen(n))
map.put(a, ms.get(a));
ret map;
}