13a17,17 > import java.util.Iterator; 14a19,19 > 14,14c18,18 < import java.util.*; --- > import java.util.List; 24a27,27 > private List myInitialList; 26a30,31 > myInitialList = l; > reset(); 27,27d29 < myIterator = new ReverseListEnumerator(l); 41,41c45,45 < * @exception NoSuchElementException If no more elements exist. --- > * @exception java.util.NoSuchElementException If no more elements exist. 45a50,59 > > /** > * Reset the enumeration so it can be reused again. However, the > * underlying collection might have changed since the last usage > * so the elements and the order may vary when using an enumeration > * which has been reset. > */ > public void reset() { > myIterator = new ReverseListEnumerator(myInitialList); > }