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
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.
I agree. Here's the link:
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