A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Iterating a HashMap
Joined: Jun 03, 2008
Jun 04, 2008 08:29:00
can any one tell me how to iterate over a HashMap which is declared as
Map<Person,Integer> pHashMap=new HashMap<Person,Integer>();
Here Person is an entity and contains Name, address and age attribute.
Joined: Dec 11, 2004
Jun 04, 2008 08:52:00
JSTL's c:forEach tag can iterate over such a structure.
How to ask a question...
Simple Servlet Examples
I agree. Here's the link:
subject: Iterating a HashMap
how to iterate a hashmap with key hashmap
Problem with hash map
Iterating through HashMap of HashMaps
bad using method get()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014