Make LoopingListIterator implement ResettableListIterator

(a binary incompatible change, but on an unreleased class)

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@405920 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2006-05-12 22:48:04 +00:00
parent 242b938ec3
commit 9d46da6c8c
2 changed files with 3 additions and 3 deletions

View File

@ -697,7 +697,7 @@ public class IteratorUtils {
* @throws NullPointerException if the list is null
* @since Commons Collections 3.2
*/
public static ResettableIterator loopingListIterator(List list) {
public static ResettableListIterator loopingListIterator(List list) {
if (list == null) {
throw new NullPointerException("List must not be null");
}

View File

@ -19,7 +19,7 @@ import java.util.List;
import java.util.ListIterator;
import java.util.NoSuchElementException;
import org.apache.commons.collections.ResettableIterator;
import org.apache.commons.collections.ResettableListIterator;
/**
* A ListIterator that restarts when it reaches the end or when it
@ -38,7 +38,7 @@ import org.apache.commons.collections.ResettableIterator;
*
* @author Eric Crampton <ccesc@eonomine.com>
*/
public class LoopingListIterator implements ResettableIterator {
public class LoopingListIterator implements ResettableListIterator {
/** The list to base the iterator on */
private List list;