一个Vector和hashtable的简单小问题,请大虾指点一二,在线急 while(enum.hasMoreElements()){ h=new Hashtable(); h=(Hashtable)enum.nextElement(); System.out.println(""+h.get("1"));} 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Enumeration enum=vt.elements(); while(enum.hasMoreElements()) { Hashtable hs = (Hashtable)enum.nextElement(); Enumeration keys = hs.keys(); while(keys.hasMoreElements()) { String key = (String)keys.nextElement(); String value = (String)hs.get(key); } }这样就可以吧你所有存储的都取出来了! 今天无意中看到公司给别人出的面试题 oracle sql查询有什么讲究吗 帮我看看 谢谢 B/S系统和网站的区别? 现在主流开源CRM软件有哪些? 求教连接池的作用~~~~~! 请教windows环境下的tomcat日志问题 javaBean如何引用web.xml中定义的对象 Flexpaper页面内打印不全的问题 使用jdbc连接mysql数据库时出现的错误!! 谁有 Struts & BC4J 的资料啊 分数大大的有啊 1 打包weblogic的jar问题 eclipse有没有代码自动完成功能?
while(enum.hasMoreElements())
{
Hashtable hs = (Hashtable)enum.nextElement();
Enumeration keys = hs.keys();
while(keys.hasMoreElements())
{
String key = (String)keys.nextElement();
String value = (String)hs.get(key);
}
}这样就可以吧你所有存储的都取出来了!