| Author |
question about for loop
|
PradeepPillai Pradeep
Ranch Hand
Joined: Nov 15, 2005
Posts: 183
|
|
May be I forgot. Can somebody tell me what is the following for loop means. for(Object entryObject : getMap().entrySet() )
|
 |
I Wayan Saryada
Ranch Hand
Joined: Feb 05, 2004
Posts: 83
|
|
|
It's the for..each loop style in Java. It can be read as "repeat for each object in the map's entry set".
|
Website: Learn Java by Examples
|
 |
PradeepPillai Pradeep
Ranch Hand
Joined: Nov 15, 2005
Posts: 183
|
|
|
Thank you.
|
 |
 |
|
|
subject: question about for loop
|
|
|