public static Hashtable<String,Integer> filter( Hashtable<String,Integer> ht) {
Hashtable<String,Integer> ret = new Hashtable<String,Integer>();
Set<Map.Entry<String,Integer>> entries = ret.entrySet();
for ( Map.Entry<String,Integer> entry : entries) {
int i = entry.getValue().intValue();
if ((i>=1) && ( i<=10)) {
ret.put( entry.getKey(), entry.getValue());
}
}
return ret;
}