This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Vector supports iterators? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Vector supports iterators?" Watch "Vector supports iterators?" New topic
Author

Vector supports iterators?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1303
Whether Vector supports iterators?
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2341
In Java 1.4, Vector extends AbstractList and inherits methods iterator and listIterator
Lionel Badiou
Ranch Hand

Joined: Jan 06, 2005
Posts: 140
Hello,

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.

Best regards,


Lionel Badiou
CodeFutures Software
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Vector supports iterators?
 
Similar Threads
Iterator are fail safe while Enumeration is not
fail-fast iterators
Vector Images
Collections - A question on iterator.
Collections API