Build J2EE Enterprise Web Application;
Best practice, experience, tutorial, discussion, sample, tips.
Plus WebSphere Commerce development.
Tuesday, April 10, 2007
Hashtable to iterator
Hashtable aTable = new Hashtable(); Set set = aTable.entrySet(); Iterator it = set.iterator(); while(it.hasNext()){ java.util.Map.Entry e = (java.util.Map.Entry) it.next(); String key = e.getKey(); String value = e.getValue(); }
No comments:
Post a Comment