Set keys = myHashTable.keySet(); Iterator iter = keys.iterator(); while (iter.hasNext()) { Object key = iter.next(); System.out.println("key:"+ (String)key); }
Showing posts with label Hashtable. Show all posts
Showing posts with label Hashtable. Show all posts
Monday, May 24, 2010
Enumerate All Keys of a Hashtable
Subscribe to:
Posts (Atom)