commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r815094 - /commons/proper/collections/trunk/src/java/org/apache/commons/collections/ResettableListIterator.java
Date Tue, 15 Sep 2009 05:56:34 GMT
Author: bayard
Date: Tue Sep 15 05:56:34 2009
New Revision: 815094

URL: http://svn.apache.org/viewvc?rev=815094&view=rev
Log:
Merging from -r468106:814127 of collections_jdk5_branch - namely where this code was generified;
mostly in r738956.

Also see the following revisions:

    ------------------------------------------------------------------------
    r751888 | mbenson | 2009-03-09 15:42:14 -0700 (Mon, 09 Mar 2009) | 1 line
    
    implement OrderedIterator (subset of ListIterator)
    ------------------------------------------------------------------------

Modified:
    commons/proper/collections/trunk/src/java/org/apache/commons/collections/ResettableListIterator.java

Modified: commons/proper/collections/trunk/src/java/org/apache/commons/collections/ResettableListIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/java/org/apache/commons/collections/ResettableListIterator.java?rev=815094&r1=815093&r2=815094&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/java/org/apache/commons/collections/ResettableListIterator.java
(original)
+++ commons/proper/collections/trunk/src/java/org/apache/commons/collections/ResettableListIterator.java
Tue Sep 15 05:56:34 2009
@@ -23,17 +23,12 @@
  * <p>
  * This interface allows an iterator to be repeatedly reused.
  *
+ * @param <E> the type to iterate over
  * @since Commons Collections 3.0
  * @version $Revision$ $Date$
  *
  * @author Stephen Colebourne
  */
-public interface ResettableListIterator extends ListIterator, ResettableIterator {
-
-    /**
-     * Resets the iterator back to the position at which the iterator
-     * was created.
-     */
-    public void reset();
+public interface ResettableListIterator<E> extends ListIterator<E>, ResettableIterator<E>,
OrderedIterator<E> {
 
 }



Mime
View raw message