aspose file tools*
The moose likes Java in General and the fly likes question about for loop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "question about for loop " Watch "question about for loop " New topic
Author

question about for loop

PradeepPillai Pradeep
Ranch Hand

Joined: Nov 15, 2005
Posts: 184
May be I forgot. Can somebody tell me what is the following for loop means.

for(Object entryObject : getMap().entrySet() )
Wayan Saryada
Ranch Hand

Joined: Feb 05, 2004
Posts: 104

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: 184
Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question about for loop
 
Similar Threads
Codes For Practice
while loop
for and while loops
WA #2 ..... word association
WA #1.....word association