| Author |
collections...urgent
|
pradeepbill arumalla
Greenhorn
Joined: Jul 15, 2003
Posts: 19
|
|
hi all, which class implement Listiterator interface,i did not find any class that implement on the link http://java.sun.com/j2se/1.4.2/docs/api/index.html my problem is that when you say LinkedList staff=new LinkedList(); staff.add("angela"); ListIterator iter=staff.listIterator(); the listIterator() method returns an object of the class implementing the ListIterator interface but which class is that?is it the LinkedList class (but LinkedList class doesnt implement ListItereator interface...i think)or some other class that implements ListIterator,if it is LinkedList class where is the method listIterator() implemented. thanks
|
pradeep
|
 |
Ron Newman
Ranch Hand
Joined: Jun 06, 2002
Posts: 1056
|
|
|
I think it's a private class which you interact with solely through the ListIterator interface.
|
Ron Newman - SCJP 1.2 (100%, 7 August 2002)
|
 |
 |
|
|
subject: collections...urgent
|
|
|