7 Replies Latest reply: Sep 8, 2007 7:15 PM by 807605 RSS

    List Iterator

    807605
      Okay hello everyone. i am having trouble with the list iterator methods.

      i have created and iterator of Video.

      Iterator<Video> it = videos.iterator

      now the thing is the

      it.next()

      seems to be the only iterator that works. for some reason all other iterator methods it cannot seem to locate, ie when complied. The error comes up as cannot identify method getFirst() etc.

      what is the problem, why is next the only iterator method that works, i need the other ones to work, what is wrong. Please Help