1 module java.util.ListIterator;
2 
3 import java.lang.all;
4 import java.util.Iterator;
5 
6 interface ListIterator : Iterator {
7     public void   add(Object o);
8     public void   add(String o);
9     public bool   hasNext();
10     public bool   hasPrevious();
11     public Object next();
12     public int    nextIndex();
13     public Object previous();
14     public int    previousIndex();
15     public void   remove();
16     public void   set(Object o);
17 }
18