循环读取数据
循环读取数据专用套路:
KeyedCollection kcoll = (KeyedCollection) icoll.getElementAt(0);
for(Iterator iterator = kcoll.keySet().iterator;iterator.hasNext();)
{
String key = (String) iterator.next();
context.put(key,kcoll.get(key));
}
icoll.remove(0);