Results 1 to 4 of 4
Thread: iterator
- 03-29-2011, 03:26 AM #1
Member
- Join Date
- Mar 2011
- Posts
- 41
- Rep Power
- 0
- 03-29-2011, 03:46 AM #2
An Iterator is simply a way to access each item is a collection one at a time and in order. It itself is not a loop but you use it in conjuction with a loop, either in the for each loop or while loop (while iterator has another item).
- 03-29-2011, 05:24 AM #3
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,619
- Rep Power
- 5
3 links which hopefully help:
Iterator (Java Platform SE 6)
The Collection Interface (The Java™ Tutorials > Collections > Interfaces)
Iterator Design Pattern
- 03-29-2011, 02:34 PM #4
Member
- Join Date
- Mar 2011
- Posts
- 41
- Rep Power
- 0
Similar Threads
-
Iterator
By Dayanand in forum New To JavaReplies: 2Last Post: 03-10-2011, 12:17 PM -
for..iterator
By jon80 in forum New To JavaReplies: 2Last Post: 11-28-2010, 02:12 PM -
Iterator as return and argument or Iterator-String(not visible in the test file)
By Aldarius in forum New To JavaReplies: 0Last Post: 05-18-2010, 12:53 AM -
Iterator help
By alpdog14 in forum New To JavaReplies: 2Last Post: 10-13-2009, 08:42 PM -
Iterator
By eva in forum New To JavaReplies: 0Last Post: 01-31-2008, 02:07 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks