Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Java (http://www.domainnameforum.org/forumdisplay.php?f=125)
-   -   Iterator to HashMap (http://www.domainnameforum.org/showthread.php?t=57862)

Java 12-23-2009 09:13 AM

Iterator to HashMap
 
I want to pass all the values from a HashMap to ArrayList (that a demand of my exercise..) and to use for it an iterator (to the HashMap). How do I get the first key to the HashMap? (if I have the first I'll continue in a loop untill there is no "hasNext ()" to the iterator..)


All times are GMT -4. The time now is 12:08 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.