QuickHashMap<GroupListCache.GroupList,RefRow> debug=new QuickHashMap<GroupListCache.GroupList, MdrillUtils.RefRow>(this.parse.limit_offset);
for(Entry<GroupListCache.GroupList,RefRow> e:groups.entrySet())
{
debug.put(e.getKey(), e.getValue());
ShardGroupByTermNum mrow=new ShardGroupByTermNum(e.getKey(), e.getValue());
if (res.size() < this.parse.limit_offset) {
res.add(mrow);
} else if (this.container.cmpTermNum.compare(res.peek(), mrow) > 0) {
res.add(mrow);
ShardGroupByTermNum free=res.poll();
toremove.add(free.key);
}else{
toremove.add(mrow.key);
}
}