• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Vector supports iterators?

 
kri shan
Ranch Hand
Posts: 1479
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Whether Vector supports iterators?
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Java 1.4, Vector extends AbstractList and inherits methods iterator and listIterator
 
Lionel Badiou
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic