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

Vector supports iterators?

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1404
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

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:
subject: Vector supports iterators?
It's not a secret anymore!