File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Joined: Jul 31, 2006
Jan 14, 2008 01:58:00
what are the tree ways of traversing a list...I know that you can use the for each loop, iterator. what's the other one. and the advantages/disadvantages of this methods of transversing a list
Joined: Oct 13, 2005
Jan 14, 2008 02:48:00
You can use an ordinary for loop, but the for-each loop is much neater.
Read the API documentation for the RandomAccess tagging interface to find out which is better.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
I have been to...
Favourite ice cream flavour ?
Scrabble... it only takes a minute...
Best Java IDE?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014