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
Vector supports iterators?
Joined: Apr 08, 2004
Feb 14, 2005 06:39:00
Whether Vector supports iterators?
Joined: Feb 07, 2005
Feb 14, 2005 07:06:00
In Java 1.4, Vector extends
and inherits methods iterator and listIterator
Joined: Jan 06, 2005
Feb 14, 2005 07:12:00
The Vector class implements 'List' interface which among other things, declare methods for iterators managment. So the answer to your question is simply : yes.
You may have found the answer in Vector's Javadoc.
subject: Vector supports iterators?
Iterator are fail safe while Enumeration is not
Collections - A question on iterator.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014