Re: iterate through a HashMap of Integer[]'s

2004-04-21 Thread pls
thanks Bill! "Bill Siggelkow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > When you iterate through a map you are iterating through the Set of > Map.Entry values. The Map.Entry encapsulate a key-value pair. > Map.Entry has a "key" property and a "value" property. In your case, th

Re: iterate through a HashMap of Integer[]'s

2004-04-21 Thread Bill Siggelkow
When you iterate through a map you are iterating through the Set of Map.Entry values. The Map.Entry encapsulate a key-value pair. Map.Entry has a "key" property and a "value" property. In your case, the value itself is an Integer[]. Try the following: Bill Siggelkow news.gmane

Re: iterate through a HashMap of Integer[]'s

2004-04-21 Thread Daniel Henrique Alves Lima
Have you tried something like this : If your property "hashmap" is a hashMap that contains a key "myInts" with the value "Integer []" try this: news.gmane.org wrote: myBean contains a property myHashMap myHashMap contains Integer[]'s as values I would like to figure out

iterate through a HashMap of Integer[]'s

2004-04-21 Thread news.gmane.org
myBean contains a property myHashMap myHashMap contains Integer[]'s as values I would like to figure out how to iterate through myHashMap and write each Integer from each Integer[] I have the following but since the Integer[] is not a bean or a property of a bean, I can't figure out how to refere