my dog learned polymorphism*
The moose likes Beginning Java and the fly likes Vector supports iterators? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


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

Vector supports iterators?

kri shan
Ranch Hand

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

Joined: Feb 07, 2005
Posts: 2367
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
 
GeeCON Prague 2014
 
subject: Vector supports iterators?